Commit Graph

286 Commits

Author SHA1 Message Date
LemonNoCry
57df64ffb4 ️ 动态Lambda 在兼容原有的操作上优化动态查询条件、处理特殊符号
1.使用正则匹配
1.连接符支持 &&、&
2.比较符支持 >、>=、==、=、<、<=、like、contains、in
3.优化处理特殊符号,一般情况都可以应对
4.最好使用“”包括值,数值类型可不用““
2022-07-22 19:31:32 +08:00
何拾玖
d9aa83e462
Update ChatHub.cs
if (Appsettings.app(new string[] { "Middleware", "SignalRSendLog", "Enabled" }).ObjToBool())
2022-04-15 11:46:52 +08:00
Nine.Designmini
361beb135d [1] AOP日志结构化,ApiLogAopInfo
[2] 对于记录数据库的话记录为json,后续可以方便直接结构化进数据表,对于使用文本的情况还是和以前一样中文表达更清晰,增加请求响应间隔时间,请求时间,响应时间
[3] log4Net插入数据库修复 长度不够导致不记录 原因:数据长度不够导致部分数据没记录 处理:修改三个记录器字段(message和exception)长度为999999;代码:<size value="999999999" />,数据库类型修改为text
[4] 修改数据库建表脚本,使用text类型
[5] 修改登录首页
[6] 发送日志会增大内存消耗导致响应很慢,添加上发送开关SignalrSendLog
2022-04-14 16:52:35 +08:00
anjoy8
07ed574136 fix: change department delete api 2022-04-12 17:43:41 +08:00
anjoy8
93361ce67d fix: GetNavigationBarPro 2022-04-07 19:39:18 +08:00
anjoy8
18f012ca16 fix: program.cs for 6.0 2022-04-04 20:00:17 +08:00
anjoy8
455ae0bfbe fix: produce department data 2022-04-01 17:23:03 +08:00
anjoy8
ca9103fa9b fix: set department tree #261 2022-03-25 23:27:42 +08:00
anjoy8
7c43929729 fix: format the code. #232 2022-03-15 10:52:55 +08:00
KimiDing
c06e3f16b0 Http Polly集成 2022-03-09 17:59:49 +08:00
anjoy8
113c8fd94a Fixed #251 bug 2022-03-04 21:49:07 +08:00
Linlccc
c0b6a75c79 添加以表格方式输出控制台 2022-02-23 18:14:26 +08:00
anjoy8
4584e939dc Update CCBPayUtil.cs 2022-02-16 18:46:22 +08:00
anjoy8
e39d7b5a23 fix: remove some warnings 2022-02-15 14:18:33 +08:00
boboyunz
9161ec914e boboyunz gateway 2022-02-14 23:35:25 +08:00
anjoy8
b304e73b7a fix: change http client 2022-02-10 14:31:52 +08:00
anjoy8
fb2eab87d4 fix: some warning 2022-02-09 17:13:02 +08:00
anjoy8
72e539db82 fix:set service name to appstting.json 2022-02-07 09:49:05 +08:00
anjoy8
6a79425f65 feat:gateway add authentication 2022-02-06 14:05:51 +08:00
Nine.Designmini
e4d948d54e 增加log4net写入MongoDB和MSSQL 2021-12-01 17:42:10 +08:00
flying666
e342272ae4 解决WriteLog方法重复记录4次日志问题 2021-11-27 13:01:20 +08:00
宁骑
df80cf78bc 添加枚举类型扩展 2021-11-18 16:08:03 +08:00
ansonzhang
dc828820f9
Merge pull request #213 from anjoy8/net6-rc
Net6 rc
2021-11-18 14:48:36 +08:00
anjoy8
24d07f50b7 Fixed bug #212 2021-11-18 10:32:41 +08:00
anjoy8
bd53e42a22 update to .net6.0 2021-11-09 18:02:41 +08:00
hudingwen
0ea8f5a8ce Merge branch 'master' of github.com:hudingwen/Blog.Core into master 2021-10-08 15:42:00 +08:00
hudingwen
98068d795c 添加动态linq查询
添加微信管理
2021-10-08 15:32:43 +08:00
胡丁文
0ae601b32f
Merge pull request #6 from anjoy8/master
pull
2021-09-23 17:07:27 +08:00
anjoy8
71693070a4 feat:add logo count 2021-09-16 14:06:59 +08:00
anjoy8
a51c19f72e fix:log bug 2021-09-16 13:23:43 +08:00
anjoy8
b2dbd11f71 feat:add access trend log qurtz 2021-09-16 11:26:00 +08:00
hudingwen
26ba3b2afb fix dependency 2021-09-02 15:40:37 +08:00
hudingwen
7b701d3056 Merge branch 'master' of https://github.com/anjoy8/Blog.Core into master
# Conflicts:
#	Blog.Core.Api/Blog.Core.xml
#	Blog.Core.Common/Blog.Core.Common.csproj
2021-09-02 15:28:53 +08:00
hudingwen
50947feb53 merge 2021-09-02 15:24:40 +08:00
hudingwen
eefbe2c8c1 项目初始化报错,由于model层的程序集没找到 2021-08-19 18:33:18 +08:00
anjoy8
0c5714a868 🎯 fix: log monitor 2021-08-06 18:05:56 +08:00
tianyu
93d5f31d30 增加 Serilog 使用tcp的方式自定义格式化 写入elk的实现
by  田雨  github  www5255977
2021-08-03 16:21:35 +08:00
hudingwen
0a563abb1b Merge branch 'master' of github.com:hudingwen/Blog.Core 2021-07-29 15:30:25 +08:00
hudingwen
81e8a44441 分支测试
目录调整
2021-07-29 15:29:56 +08:00
tianyu
654cc7a3aa 田雨 2021-07-28 11:01:28 +08:00
anjoy8
69f2fad40e Update Blog.Core.Common.csproj 2021-07-15 15:54:53 +08:00
anjoy8
fe59cc33a4 feat:update common initq 2021-07-15 15:41:45 +08:00
胡丁文
d11b652152
Merge branch 'anjoy8:master' into master 2021-07-10 11:14:07 +08:00
hudingwen
01d11613c2 2021-07-09 23:29:51 +08:00
anjoy8
eb7043894e Update SerilogServer.cs 2021-06-28 10:36:33 +08:00
anjoy8
c94a397ffb fix:log error 2021-06-25 23:44:06 +08:00
ansonzhang
70a419faa8
Fixed #195 bug 2021-06-12 12:16:30 +08:00
anjoy8
700b70373b feat:out sql log to console 2021-06-04 19:28:44 +08:00
wuare
ec89745efc Remove not needed null check
return string.Empty if there is no ContentEncoding, so encoding never be null, condition is always true
2021-06-02 10:57:30 +08:00
anjoy8
711f92d1e6 Resolve data anomalies in trend charts 2021-06-01 11:40:30 +08:00
wuare
5bb969e1b9 fix typo and remove not needed null check 2021-06-01 11:31:55 +08:00
wuare
9fdd250a45 clean up code and formatting 2021-06-01 11:08:27 +08:00
anjoy8
a5779b8019 config es from serilog 2021-05-31 18:53:44 +08:00
anjoy8
eb08af94b3 Update SerilogServer.cs 2021-05-14 21:10:56 +08:00
anjoy8
fa6ce50e42 fix:rename log 2021-05-14 19:25:10 +08:00
anjoy8
c94500ac0c fix:update the log method 2021-05-14 16:13:25 +08:00
anjoy8
c44ae1cfd2 Fixed #169 bug 2021-03-10 18:17:03 +08:00
ansonzhang
b8debbbd6e
Merge branch 'master' into master 2021-02-22 09:33:54 +08:00
hudingwen
83481f64f4 支付优化
反编译建行的支付DLL,脱离DLL依赖
2021-02-09 19:53:14 +08:00
hudingwen
a0656be8bc 杂项 2021-02-06 11:12:58 +08:00
hudingwen
d79e9675b6 RSAHelper 完善
性能分析开关(开启性能分析会增添消耗)
2021-02-06 10:52:26 +08:00
anjoy8
7639ba548e adjust gateway
调整网关
2021-01-26 10:48:56 +08:00
hudingwen
4e1ec5de32 新增一些helper RSAhelper Urlhelper 2021-01-22 11:25:05 +08:00
胡丁文
014c64f7b7
Merge pull request #2 from anjoy8/master
test redis mq di
2021-01-11 14:22:49 +08:00
hudingwen
f3a63f031e 调度服务区分停止和暂停功能优化
页面提交的的时间和本地UTC时差问题优化
Helper优化
加入编码集方便调用特殊编码
2021-01-11 14:08:19 +08:00
anjoy8
ac1e8de6ac test redis mq di 2021-01-07 10:51:09 +08:00
Nine.Dev
2d852bd783 Memory Cach Expiration Time Setting内存缓存过期时间设置 2021-01-04 15:59:14 +08:00
anjoy8
b343f51b04 Fixed #136 Bug 2020-11-29 11:49:15 +08:00
ansonzhang
cb41ccb259 try to use event bus in project
尝试使用事件总线
2020-11-19 11:59:36 +00:00
ansonzhang
47b45a14c9 💯 Migrate to.NET 5.0
迁移到.net 5.0
2020-11-11 12:52:56 +00:00
anjoy8
24af6288a9 some unimportant update 2020-10-13 18:16:38 +08:00
anjoy8
832d583100 muti subscribe for redis mq 2020-09-23 20:11:54 +08:00
anjoy8
8fd7ee0a5e welcome data 2020-09-18 12:15:23 +08:00
anjoy8
ea4ca76b69 some welcome page data 2020-09-18 10:31:10 +08:00
anjoy8
85bb59afc9 add active user 2020-09-16 14:49:19 +08:00
anjoy8
66a6cb440e Update LogLock.cs 2020-09-10 12:28:05 +08:00
anjoy8
0e10c28bfa Update LogLock.cs 2020-09-10 12:23:52 +08:00
anjoy8
3ce5e3f599 remove try catch -> for get more bug
防止try吃掉bug,为了获取更多的bug
2020-09-09 12:08:12 +08:00
anjoy8
b95b0b9645 fix some bug 2020-09-09 11:34:25 +08:00
anjoy8
8337cfff14 get user name 2020-09-08 21:01:08 +08:00
anjoy8
a27b04f121 Update AspNetUser.cs 2020-09-08 18:14:52 +08:00
anjoy8
f5fc17f35e jwt judge null 2020-09-07 14:46:48 +08:00
anjoy8
4c654e29fd Update AspNetUser.cs 2020-09-06 23:29:58 +08:00
anjoy8
2d5c48d0eb redis mq 2020-09-02 18:53:57 +08:00
anjoy8
e2f52b054f change StackExchange.Redis -> async
修改 StackExchange.Redis 为异步方式
2020-08-27 20:46:11 +08:00
anjoy8
de3c41314b rename chache namespace
修改缓存命名空间,防止冲突
2020-08-21 17:34:25 +08:00
anjoy8
dc41767475 Fixed #96 Bug
修复 #96 文件
2020-07-13 17:41:57 +08:00
anjoy8
26d1fd63fd Update RedisCacheManager.cs 2020-07-12 21:18:33 +08:00
anjoy8
af0195f47a migrate 2020-07-09 17:50:03 +08:00
anjoy8
2861175e4e 66 2020-07-06 20:20:53 +08:00
anjoy8
a19cad003e Update BlogLogAOP.cs 2020-07-02 14:04:55 +08:00
anjoy8
a2e5976b87 Create Base32Helper.cs 2020-06-08 17:18:24 +08:00
anjoy8
6819c3a899 remove all no need using
去掉不必要的引用
2020-06-04 22:58:53 +08:00
anjoy8
a924b227d2 Update BlogController.cs 2020-06-03 23:04:58 +08:00
anjoy8
d04751b47d deal with quartz job : remark 2020-05-30 15:29:30 +08:00
anjoy8
5d486cf343 get server info
获取服务器信息
2020-05-29 20:24:31 +08:00
anjoy8
dd2e7025d0 Update AspNetUser.cs 2020-05-24 22:41:17 +08:00
anjoy8
216d66a0de Update AppSecretConfig.cs 2020-05-07 11:13:00 +08:00
anjoy8
ecaffb66bd Simplify the Log4net notation
简化规范log4net的写法
2020-05-06 17:15:55 +08:00
anjoy8
0e4e985473 add keeplive
增加菜单的kekeplive功能
2020-04-27 14:15:58 +08:00
anjoy8
5a04f99d2c add httpapi
增加httpapi请求
2020-04-25 14:17:31 +08:00
anjoy8
014acfe3b8 Flexible way to handle appsettings.json fetch db scheme (by Simon)
灵活的方式处理appsettings.json获取db方案(作者Simon)
2020-04-24 15:33:49 +08:00
anjoy8
7e8ca10541 add some console.alert
增加输出信息
2020-04-22 23:09:41 +08:00
anjoy8
4d95cf0ee5 Switch between two authorization modes
通过配置,可以随意切换两种授权模式:jwt 和 ids4
2020-04-14 13:28:26 +08:00
anjoy8
21bd4b3dfa use serilog to log
可以使用serilog记录日志
2020-04-04 11:55:50 +08:00
anjoy8
64eac26fe8 add CQRS in master
主分支增加读写分离
2020-04-03 15:33:29 +08:00
anjoy8
403b30a3ed add quartz.net
增加 任务调度 quartz.net
2020-03-22 22:09:16 +08:00
ansonzhang
20e140ad55 fixed #49 bug
修复 #49 号bug
2020-01-21 20:46:30 +08:00
anjoy
c63ce001ab remove single db
去掉单库配置操作
2019-12-24 17:51:08 +08:00
anjoy
584de77224 Muti DB Connect (1) more 2019-12-17 13:36:36 +08:00
ansonzhang
6fcf0b51d1 Muti DB Connect (1)
多库操作一
2019-12-17 08:07:39 +08:00
ansonzhang
eede84426e Encapsulated httpHelper according to RestSharp 🌾
基于 RestSharp 封装HttpHelper
2019-12-09 23:18:02 +08:00
anjoy
42c54920e6 Update the entity -> nvarchar type,create database automatically
更新实体,创建nvarchar类型,并自动生成数据库
2019-12-06 20:38:05 +08:00
anjoy
a72ae8a3a1 Project upgraded to netcore 3.1
项目升级到 netcore 3.1
2019-12-04 12:17:39 +08:00
anjoy
1b49bf798b Fixed bug #36 #37
修复 #36 #37 号bug
2019-12-03 13:01:02 +08:00
ansonzhang
0873cf3bcc fix log bug & study route with template
修复一些日志bug;
简单讲授路由模板
2019-11-12 22:34:40 +08:00
anjoy
6b997e0442 Update LogLock.cs
优化每天访问echart线图
2019-11-12 15:20:34 +08:00
anjoy
6b9e3ed64d Update LogLock.cs 2019-11-07 18:44:23 +08:00
anjoy
b163c9cbe0 Split custom middleware and fix signalr without push message problem
拆分自定义中间件,修复signalr没有推送消息问题
2019-11-07 18:14:34 +08:00
ansonzhang
1eb006e523 Update LogLock.cs 2019-11-05 00:15:37 +08:00
anjoy
11c8f0824b add 24h api access log info
增加当天24小时接口访问日志
2019-11-04 15:48:24 +08:00
anjoy
4699bf3d11 Update LogLock.cs 2019-11-04 10:33:38 +08:00
ansonzhang
446db7bce1 add func -> access api log chart
增加接口访问日志图表
2019-11-04 00:00:25 +08:00
ansonzhang
da21dad73c log api access info
记录下接口访问情况
2019-11-02 23:13:06 +08:00
anjoy
a1b8497d6a Merge branch 'netcore3.0'
将主分支更新到 3.0
2019-10-21 12:02:14 +08:00
hsxian
7ac0e1e5bf modify method of app in Appsettings 2019-10-20 20:20:08 +08:00
ansonzhang
280cd286f2 Unified Processing of User Information 2019-10-04 22:13:04 +08:00
ansonzhang
4e620d93e8 Adjust xnuit test for appveyor 🐬 2019-10-02 22:27:15 +08:00
ansonzhang
bd350a0bde Increase button level permissions 2019-10-01 13:11:53 +08:00
Simon
e2c1c2faac fixed LogLock.cs for Linux Path Compatibility 2019-09-23 21:53:44 +08:00
anjoy
951b2f3d4d update redisAop name 2019-08-21 13:54:07 +08:00
anjoy
d45ece616d Test InProcess & OutOfProcess 🍵 2019-07-19 15:18:52 +08:00
碌云
95dd9ec10b 1.抽象出来一个AOP缓存的父类。2.优化些许代码。 2019-07-07 15:41:02 +08:00
anjoy8
f76ea40f2d add func -> Task Service 🎨 2019-06-19 18:56:16 +08:00
anjoy8
953a6c9c3e Update BaseDBConfig.cs 2019-06-11 13:12:22 +08:00
anjoy8
451704aa17 add func -> RouteProfix 🎨 2019-06-06 11:39:04 +08:00
anjoy8
6ffc055100 add func: UseReuestResponseLog middleware 🎨 2019-06-03 14:08:01 +08:00
anjoy8
290a24e756 Update NuGet Package && fix SqlSugar exception 💯 2019-05-27 22:44:22 +08:00
anjoy8
b78ac66bd5 Add Func -> HttpContext 🌿 2019-05-24 14:26:11 +08:00
anjoy8
7e673f2964 fixed warming tips 2019-05-15 17:12:24 +08:00
anjoy8
3fc3b6117f Update MD5Hepler.cs 2019-05-15 17:03:34 +08:00
anjoy8
ad8abd4aa2 Update LogLock.cs 2019-05-15 13:21:58 +08:00
anjoy8
ee9b149c5f Update LogLock.cs 2019-05-15 13:18:32 +08:00
anjoy8
5251276c58 Update MD5Hepler.cs 2019-05-15 13:04:22 +08:00
anjoy8
816f39b50b Update LogLock.cs 2019-05-14 17:08:42 +08:00
anjoy8
3128ec9f76 fix Bug from Blog.Admin -> /Logs/Index 2019-05-14 16:48:33 +08:00
anjoy8
4cf62d50a9 md5 for pwd 2019-05-13 12:07:23 +08:00
anjoy8
0b7c1e1389 add function -> hide page 1 2019-05-11 00:03:23 +08:00
anjoy8
79f5f40fc3 want to add hide_page 2019-05-10 19:13:40 +08:00
anjoy8
7da8c30624 Update LogLock.cs 2019-05-03 19:55:04 +08:00