Waste/Waste.Web.Entry/appsettings.json

53 lines
2.2 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.

{
"AppSettings": {
"InjectSpecificationDocument": true
},
"SpecificationDocumentSettings": {
"DocumentTitle": "垃圾分类接口",
"RoutePrefix": "waste"
},
"DynamicApiControllerSettings": {
"KeepName": true,
"KeepVerb": false,
"LowercaseRoute": true
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"System": "Warning",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Warning",
"Microsoft.EntityFrameworkCore": "Warning"
}
}
},
"JWTSettings": {
"ValidateIssuerSigningKey": true, // 是否验证密钥bool 类型默认true
"IssuerSigningKey": "ybhdmob_55cf9d4d4747bedc", // 密钥string 类型必须是复杂密钥长度大于16
"ValidateIssuer": true, // 是否验证签发方bool 类型默认true
"ValidIssuer": "ybhdmob", // 签发方string 类型
"ValidateAudience": true, // 是否验证签收方bool 类型默认true
"ValidAudience": "ybapp", // 签收方string 类型
"ValidateLifetime": true, // 是否验证过期时间bool 类型默认true建议true
"ExpiredTime": 60, // 过期时间long 类型单位分钟默认20分钟
"ClockSkew": 5, // 过期时间容错值long 类型,单位秒,默认 5秒
"Algorithm": "HS256" // 加密算法string 类型,默认 SecurityAlgorithms.HmacSha256
},
"logfile": "e:/errlog/waste.ybhdmob.com", //日志文件路径
//"NirvanaConnection":"Server=localhost,4331;Database=waste;uid=jutian_user;pwd=jutian1qaz@WSX;",
"NirvanaConnection": "Server=123.60.2.99,4331;Database=waste;uid=jutian_user;pwd=jutian1qaz@WSX;",
"SZDevPlatSetting": { //苏州设备接入平台设置
"ApiUrl": "https://bright.ljflytjl.cn:9101",
"UserId": "18e76eb9-9154-4b43-bcfe-f80671ab8e79",
"ApiSecret": "1KXWKC1WA8V8eCDX",
"ApiSecretHash": "5567485e9458ee89"
},
"SoftName": "巨鼎物联网数字平台", //软件名称
"SecureKey": "ybhdmob_waste_2021",
"SoftDesc": "", //软件描述
"Version": "1.0", //软件版本
"copyright": "巨鼎物联网数字平台", //版权所有
"LoginProvider": "CookieAndSession", //登录信息保存位置
"LoginProviderKey": "waste_loginuserkey" //登录密钥
}