You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
{
|
|
|
|
|
"MaxRequestBodySize": 41943040, //单位是字节(byte) 1kb=1024byte,此处限制40M
|
|
|
|
|
//"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}"
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// ]
|
|
|
|
|
//},
|
|
|
|
|
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Information",
|
|
|
|
|
"Microsoft": "Warning",
|
|
|
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
|
|
|
"Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware": "Information"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
|
"Urls": "http://localhost:5120",
|
|
|
|
|
|
|
|
|
|
/* **********RunType运行方式说明**********
|
|
|
|
|
HeChuan 和川(会执行一些和川特有的逻辑)
|
|
|
|
|
Normal 标准模式(自用)
|
|
|
|
|
CUST 客户订舱系统-客户端
|
|
|
|
|
DJY 客户订舱系统-大简云运营端
|
|
|
|
|
*/
|
|
|
|
|
"RunType": "HeChuan",
|
|
|
|
|
|
|
|
|
|
// 是否运行在测试环境
|
|
|
|
|
"RunTest": "true"
|
|
|
|
|
}
|