38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
![]() |
{
|
||
|
"Logging": {
|
||
|
"LogLevel": {
|
||
|
"Default": "Information",
|
||
|
"Microsoft": "Warning",
|
||
|
"Microsoft.Hosting.Lifetime": "Information"
|
||
|
}
|
||
|
},
|
||
|
"AllowedHosts": "*",
|
||
|
"VirtualPath": {
|
||
|
"StaticFile": "E:\\Web\\Static", //配置的虚拟目录文件所在路径
|
||
|
"FolderName": "/Static" //访问时此路径时的别名
|
||
|
},
|
||
|
|
||
|
"Secret": { //秘钥配置
|
||
|
"JWT": "BB3647441FFA4B5DB4E64A29B53CE525", //JWT
|
||
|
"Audience": "YD_WeChatApplet",
|
||
|
"Issuer": "YD_WeChatApplet.Api",
|
||
|
"User": "C5ABA9E202D94C43A3CA66002BF77FAF", //
|
||
|
"DB": "3F8B7B38AD3D484A89ACA513CBD79F36",
|
||
|
"Redis": "E6D90DDBC70C4F4EA3C312B6FCB473C8"
|
||
|
},
|
||
|
|
||
|
"ExpMinutes": "120", //JWT有效期(分钟=默认120),
|
||
|
|
||
|
"AppUrls": {
|
||
|
},
|
||
|
|
||
|
"DbConnectionString": " Data Source=101.132.164.149;Database=YD_WeChatAppletDB;User ID=sa;Password=Admin@123;Connect Timeout=500;",
|
||
|
"SmartSportsString": " Data Source=101.132.164.149;Database=SmartSportsServerDB_QA;User ID=sa;Password=Admin@123;Connect Timeout=500;",
|
||
|
"CorsUrls": "http://localhost:8081,http://localhost:8080,http://localhost:7080,http://localhost:9980,http://127.0.0.1:9993,http://localhost:9993",
|
||
|
|
||
|
"WeChat": {
|
||
|
"Appid": "xxx",
|
||
|
"Secret": "xxx"
|
||
|
}
|
||
|
}
|