Files
number_zj/20220330_Vote/Ewide.Web.Entry/appsettings.json

68 lines
2.0 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"System": "Warning",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.EntityFrameworkCore": "Information"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "【时间】{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}【等级】{Level:u3}{NewLine}【消息】{Message:lj}{NewLine}{NewLine}"
}
},
{
"Name": "File",
"Args": {
"path": "logs/.log",
"rollingInterval": "Day",
"outputTemplate": "【时间】{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}【等级】{Level:u3}{NewLine}【消息】{Message:lj}{NewLine}{NewLine}"
}
}
]
},
"AllowedHosts": "*",
"CorsAccessorSettings": {
"PolicyName": "自定义跨域策略名",
"WithOrigins": [
"http://localhost:8080",
"https://mapi.zjzwfw.gov.cn"
]
},
"AppSettings": {
"InjectSpecificationDocument1": false
},
"OSSProvider": {
"Provider": "HuaweiCloud",
//枚举值支持Minio/Aliyun/QCloud
"Endpoint": "http://10.74.25.87:6020",
//腾讯云中表示AppId
"Region": "",
//地域
"AccessKey": "C4D30C2801D928AAF687",
"SecretKey": "ooZVXaB1tqIz7DHTv53RILD7o5cAAAGAAdkoqlR2",
"IsEnableCache": true
//是否启用缓存,推荐开启
},
"NingboZhiChun": {
"OpenSms": 0,
"SmsTokenUrl": "http://10.19.94.16/api/user/login",
"SmsSendUrl": "http://10.19.94.16/api/sms/send",
"SmsAccount": "tempaccount0309",
"SmsPwd": "Aabc!@#20KHL+@+124bjaT(6q",
"TotalCount": 40
},
"OutsideWallSetting": {
"SanjuKey": "vPFu7zKB08Uaxuzsc5zozAAT6W0zr3qw",
"GetCommunitys": "http://sjk.test.ky.com/housesafety/statistics/GetCommunitys?searchName={0}",
"GetHouseInfoCitysByCommunity": "http://sjk.test.ky.com/housesafety/statistics/GetHouseInfoCitysByCommunity?communityID={0}"
},
"UserScore": {
"ExpertNumber": 17
}
}