1. 新增依赖注入生命周期标记接口、基础仓储与管理员仓储实现 2. 新增管理员认证与用户服务接口,补充认证相关DTO 3. 重构实体审计字段命名,统一Created/UpdatedAt规范 4. 新增大量业务实体类与API版本枚举配置 5. 集成Autofac依赖注入、JWT自动刷新与跨域配置 6. 替换原有微信小程序与旧认证服务为后台管理系统架构 7. 完善Swagger文档配置与项目基础部署配置
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "server=192.168.20.150;port=13306;database=InteractiveMagazine;user=user;password=n68792bu!y99r905;charset=utf8mb4;"
|
|
},
|
|
"JwtSettings": {
|
|
"Issuer": "QYZH.InteractiveMagazine",
|
|
"Audience": "QYZH.InteractiveMagazine",
|
|
"SecretKey": "zG7pLqR9xVw2bN8fYtHk3mPc5sA1dF6eUjW4gXhC7vB",
|
|
"ExpiryMinutes": 120
|
|
},
|
|
"RedisSettings": {
|
|
"ConnectionString": "192.168.20.150:16379,defaultDatabase=5",
|
|
"InstanceName": "interactive_magazine"
|
|
},
|
|
"RabbitMQSettings": {
|
|
"HostName": "192.168.20.150",
|
|
"Port": 5672,
|
|
"UserName": "smartschool",
|
|
"Password": "@ss%&*otz%d*pq2S",
|
|
"VirtualHost": "InteractiveMagazine"
|
|
},
|
|
"WeChatSettings": {
|
|
"AppId": "your-wechat-appid",
|
|
"AppSecret": "your-wechat-appsecret"
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"System": "Warning"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console"
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "logs/log-.txt",
|
|
"rollingInterval": "Day"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"AllowedHosts": "*"
|
|
}
|