MeiRiYiCheng_1_old/YBDevice.Api/appsettings.json

46 lines
1.7 KiB
JSON
Raw 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.

{
"NirvanaConnection": "server=119.3.201.157,4331;database=ybdevice_test;uid=fans_testuser;pwd=fanstest1qaz@WSX;",
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
// 日志调用类命名空间如果以 Microsoft 开头,覆盖日志输出最小级别为 Information
"System": "Information", //简化日志
"Microsoft": "Information"
}
},
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "e:/errlog/ybdeviceapi.ybhdmob.com/log.txt",
"rollingInterval": "Day", // "创建文件的类别,可以是分钟,小时,天,月,年": null,
"retainedFileCountLimit": 60, // "--设置日志文件个数最大值默认31意思就是只保留最近的31个日志文件", "等于null时永远保留文件": null,
"outputTemplate": "{Timestamp:HH:mm:ss} [{Level:u3}] ({Application}/{MachineName}/{ThreadId})({SourceContext}){NewLine}{Message}{NewLine}{Exception}",
"fileSizeLimitBytes": 3145728, //设置单个文件大小为3M 默认1G
"rollOnFileSizeLimit": true //超过文件大小后创建新的
}
}
]
},
"SecureKey": "ybhdmob_xiaobai_2021",
"RedisServer": "127.0.0.1",
"CDNURL": "https://localhost:44317", //图片CDN地址
"SenparcSetting": {
"IsDebug": true,
"DefaultCacheNamespace": "YBDeviceCache",
//分布式缓存
"Cache_Redis_Configuration": "localhost:6379" //Redis配置
},
//Senparc.Weixin SDK 设置
"SenparcWeixinSetting": {
//微信全局
"IsDebug": true,
//移帮设备开放平台(测试)
"Component_Appid": "wx623a8463a9d25f82",
"Component_Secret": "ca800b847590301522f7a950509e1610",
"Component_Token": "yibangfensitong",
"Component_EncodingAESKey": "ehERVEw9sobcIZAjAYA0QZyQAYPjvP9ui5zMGOrL92r"
}
}