40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
// 日志调用类命名空间如果以 Microsoft 开头,覆盖日志输出最小级别为 Information
|
|
"System": "Warning", //简化日志
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"Microsoft": "Warning"
|
|
}
|
|
}
|
|
},
|
|
"CustomSetting": {
|
|
"LogUrl": "http://localhost:5341", //seq地址
|
|
"APIURL": "https://ybapi.pcxbc.com", //接口地址
|
|
"Version": "1.0.0" //版本号
|
|
},
|
|
// 日志配置
|
|
"LogSetting": {
|
|
"Type": "File", //日志类型,File-文件,Console-控制台,Seq-seq地址
|
|
"FilePath": "e:/errlog/ybwxv2.ybhdmob.com" //日志文件路径
|
|
},
|
|
"callbackUrl": "http://ybwxv2.ybhdmob.com/OpenOAuth/OpenOAuthCallback", //公众号授权回调地址
|
|
//微信配置
|
|
"SenparcSetting": {
|
|
"IsDebug": true,
|
|
"DefaultCacheNamespace": "YBDeviceV2Cache",
|
|
//分布式缓存
|
|
"Cache_Redis_Configuration": "localhost:6379" //Redis配置
|
|
},
|
|
//Senparc.Weixin SDK 设置
|
|
"SenparcWeixinSetting": {
|
|
"IsDebug": true,
|
|
//移帮设备开放平台(测试)
|
|
"Component_Appid": "wxd1788d0fabf835f3",
|
|
"Component_Secret": "8ea9bf24d5f253f13602b76874478c5b",
|
|
"Component_Token": "yibangfensitong",
|
|
"Component_EncodingAESKey": "ehERVEw9sobcIZAjAYA0QZyQAYPjvP9ui5zMGOrL92r"
|
|
}
|
|
} |