ansonzhang
|
c6f690d9c9
|
Merge pull request #347 from anjoy8/feature/swagger
Feature/swagger
|
2023-06-05 20:18:17 +08:00 |
|
anjoy8
|
2c74a716ca
|
Update swg-login.html
|
2023-06-05 11:55:23 +08:00 |
|
胡丁文
|
a20be4bae2
|
Merge pull request #11 from anjoy8/master
同步主分支
|
2023-06-03 16:26:32 +08:00 |
|
anjoy8
|
e9b4531ff8
|
Update index.html
|
2023-06-02 16:34:07 +08:00 |
|
Nine
|
4e23f08654
|
修复mini-profiler 不显示的问题,版本不一致导致
修改一些swagger样式,权限小锁,权限认证按钮..
|
2023-06-02 14:11:09 +08:00 |
|
LemonNoCry
|
1f35642400
|
🎨 移除多余的注册
|
2023-06-01 17:58:46 +08:00 |
|
LemonNoCry
|
7629527ee9
|
✨🎨 缓存的完善优化
1.统一封装基于微软分布式缓存接口IDistributedCache使用
2.IDistributedCache只适合普通的缓存使用,如果要使用redis队列、订阅redis消息等,就要使用redis原生库
3.增加缓存管理接口[Systems/CacheManageController]
4.目前支持内存、redis缓存实现,理论可随意扩展甚至自定义实现
5.默认使用内存缓存,可在appsetting.json中配置Redis
切换到IDistributedCache好处如下
默认session使用IDistributedCache进行存储,如果你搭配使用IDistributedCache+外部缓存(如Redis),可实现应用程序重启session不丢失
更直观就是,调试的时候登录swagger后即使重启调试也无需在登陆
|
2023-06-01 17:54:54 +08:00 |
|
anjoy8
|
3f24902521
|
Update PermissionHandler.cs
|
2023-05-30 10:27:43 +08:00 |
|
LemonNoCry
|
1c700fd90d
|
✨ 优化多次解析Token重复添加Claims
|
2023-05-26 15:20:26 +08:00 |
|
LemonNoCry
|
0cea9672b5
|
✨ 优化Swagger
1.swagger登录可以用用户账号登录,如果登录成功 token存在session中 之前默认admin感觉没什么用 当然也可以扩展User 加个字段是否开发者帐户等类似的
2.优化权限校验 优先读取Header->没有读取Session 中token解析用户
|
2023-05-24 11:19:36 +08:00 |
|
ansonzhang
|
a979d36461
|
Update NumberConverter.cs
|
2023-05-21 19:23:01 +08:00 |
|
ansonzhang
|
f0bbf06c47
|
Update SqlsugarAop.cs
|
2023-05-21 18:22:28 +08:00 |
|
anjoy8
|
1e4e3ee52d
|
Update RoleModulePermission.tsv
|
2023-05-19 14:08:33 +08:00 |
|
anjoy8
|
42146e2a04
|
Update launchSettings.json
|
2023-05-15 15:03:14 +08:00 |
|
anjoy8
|
ca0dda2d04
|
Update appsettings.json
|
2023-05-15 14:48:20 +08:00 |
|
anjoy8
|
a17d6eeb35
|
Update DataBaseController.cs
|
2023-05-13 12:20:47 +08:00 |
|
ansonzhang
|
63e255e450
|
Merge pull request #346 from anjoy8/feat/serilog
Feat/serilog
|
2023-05-13 11:39:26 +08:00 |
|
LemonNoCry
|
e9f1ef5c01
|
✨ 增加数据库管理
|
2023-05-11 18:07:02 +08:00 |
|
anjoy8
|
8183be9d58
|
feat: change maindb sort
|
2023-05-08 16:55:41 +08:00 |
|
anjoy8
|
ddb326763b
|
feat: change file upload api
|
2023-05-06 10:58:18 +08:00 |
|
LemonNoCry
|
48a4adcd37
|
✨ 优化Http日志,记录RequestBody
|
2023-05-06 09:47:20 +08:00 |
|
anjoy8
|
8662047671
|
feat: new user login
|
2023-05-05 18:11:24 +08:00 |
|
anjoy8
|
ab973d0621
|
Merge branch 'master' into feat/serilog
|
2023-05-05 17:48:54 +08:00 |
|
LemonNoCry
|
f062eb0983
|
✨ 优化Http日志
|
2023-05-03 17:57:02 +08:00 |
|
ansonzhang
|
649e51d2a6
|
Merge pull request #342 from hudingwen/master
删除多余代码
|
2023-05-03 10:24:26 +08:00 |
|
hudingwen
|
6f077266c0
|
Merge branch 'master' of https://github.com/hudingwen/Blog.Core
|
2023-04-29 12:08:12 +08:00 |
|
hudingwen
|
7ddec93479
|
remove extra code
|
2023-04-29 12:07:52 +08:00 |
|
hudingwen
|
014ab8de74
|
remove extra code
|
2023-04-29 12:03:29 +08:00 |
|
胡丁文
|
f9a8d63745
|
Merge pull request #10 from anjoy8/master
同步主分支
|
2023-04-29 12:00:23 +08:00 |
|
胡丁文
|
e0ecd4fd0f
|
Merge branch 'master' into master
|
2023-04-22 18:06:32 +08:00 |
|
LemonNoCry
|
50a936bdeb
|
✨ 增加IOption配置
原有AppSetting 手写字符串去读取,极容易出错,扩展性也低:如果要修改或者增加值 就要到处都写
保留AppSetting基础上增加IOption方便读取配置,可反序列对象
增加IConfigurableOptions接口
可参考SeqOptions配置
配置文件名为Option或Options结尾,匹配时会忽略Option或Options
SeqOptions->对应 AppSetting中Seq节点
可直接在控制器中注入使用 参考ValuesController
private readonly SeqOptions _seqOptions;
cto(IOptions<SeqOptions> seqOptions){
_seqOptions = seqOptions.Value;
}
|
2023-04-22 11:10:30 +08:00 |
|
anjoy8
|
720ef2472a
|
Update swg-login.html
|
2023-04-21 22:15:45 +08:00 |
|
anjoy8
|
86e5d6f845
|
Update swg-login.html
|
2023-04-21 22:13:41 +08:00 |
|
LemonNoCry
|
90157e470d
|
✨ 添加Seq配置
|
2023-04-14 11:46:44 +08:00 |
|
LemonNoCry
|
7b8d60d9d0
|
✨ 优化Http消息模版 增加亿些附加属性
|
2023-04-14 11:20:10 +08:00 |
|
hudingwen
|
b595ac4a1e
|
同步主分支
|
2023-04-09 22:47:42 +08:00 |
|
胡丁文
|
bdc89aa5cc
|
Merge pull request #9 from anjoy8/master
同步主分支
|
2023-04-09 16:22:28 +08:00 |
|
anjoy8
|
cf97167537
|
Update DBSeed.cs
|
2023-04-08 20:33:42 +08:00 |
|
anjoy8
|
36a38694b5
|
feat: change readme
|
2023-04-08 19:07:00 +08:00 |
|
anjoy8
|
d96149d653
|
Merge branch 'master' into feat/serilog
|
2023-04-08 17:37:48 +08:00 |
|
LemonNoCry
|
7c4b76aeea
|
✨ Serilog log to db
|
2023-04-06 22:40:05 +08:00 |
|
LemonNoCry
|
8cb4df9ac0
|
✨ git ignore
|
2023-04-06 21:43:18 +08:00 |
|
LemonNoCry
|
45d538010b
|
✨ 暂时先取消Log
|
2023-04-02 17:33:59 +08:00 |
|
anjoy8
|
b88d0a02e5
|
Update SplitDemoController.cs
|
2023-04-02 16:01:03 +08:00 |
|
LemonNoCry
|
5e84e11ca8
|
✨ 调整
|
2023-04-02 15:56:20 +08:00 |
|
anjoy8
|
0c1b896899
|
Merge branch 'feat/id_long'
|
2023-04-02 15:41:00 +08:00 |
|
anjoy8
|
070e441bc0
|
feat: 🉑 change api param
|
2023-04-02 15:16:37 +08:00 |
|
LemonNoCry
|
0d2a95e0e9
|
✨ 初步调整Serilog
|
2023-04-01 23:25:56 +08:00 |
|
Lemon.NoCry
|
18861bc7de
|
Merge branch 'feat/id_long' of github.com:anjoy8/Blog.Core into feat/id_long
|
2023-04-01 21:29:54 +08:00 |
|
Lemon.NoCry
|
f785d50770
|
🎨 优化雪花id使用
|
2023-04-01 21:29:34 +08:00 |
|