44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"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}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"zlb_setting": {
|
|
"servicecode": "fwzs",
|
|
"servicepwd": "fwzspwd",
|
|
"ticket_url": "https://appapi.zjzwfw.gov.cn/sso/servlet/simpleauth?method=ticketValidation&servicecode={servicecode}&time={time}&sign={sign}&st={ticket}&datatype={datatype}",
|
|
"token_url": "https://appapi.zjzwfw.gov.cn/sso/servlet/simpleauth?method=getUserInfo&servicecode={servicecode}&time={time}&sign={sign}&token={token}&datatype={datatype}"
|
|
},
|
|
"AllowedHosts": "*",
|
|
"nbzs_file_path": "D:\\1_发布程序",
|
|
"nbzs_domain-bak": "https://zsxt.nbzs.org.cn",
|
|
"nbzs_domain": "http://118.178.224.202:2258/",
|
|
"current_domain": "http://localhost:5566/",
|
|
"CorsAccessorSettings": {
|
|
"PolicyName": "自定义跨域策略名",
|
|
"WithOrigins": [ "http://localhost:8080", "https://mapi.zjzwfw.gov.cn" ]
|
|
}
|
|
} |