You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

87 lines
2.7 KiB

{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning"
}
},
"Console": {
"LogLevel": {
"Default": "Warning"
}
}
},
"AllowedHosts": "*",
"Jwt": {
"Secret": "Y2F0Y2yhciUyMHdvbmclMFWfsaZlJTIwLm5ldA==", //
"Issuer": "ZnycTeach", //
"Audience": "api",
"Expiration": 120, //,
"refreshJwtTime": 240 //
},
"DbConnections": {
"DefaultDb": {
"MasterDB": {
// mysql
"ConnectionString": "server=172.16.0.6;database=znyc_dispatching;user=znyc;CharSet=utf8mb4;password=UhcAoRR5A3hnt^%U;port=3306;Allow User Variables=True;sslMode=None;", //
"DatabaseType": "MySql" //MySql
}
}
},
"AppSetting": {
"SoftName": "Znyc Framework",
"CertificatedCompany": "Znyc",
"ConStringEncrypt": "false",
"DefaultDataBase": "DefaultDb",
"IsDBReadWriteSeparate": false, //
"QueryDBStrategy": "Random", //访
"LoginProvider": "Cookie",
"AppId": "system",
"AppSecret": "87135AB0160F706D8B47F06BDABA6FC6",
"AllowOrigins": "http://localhost,http://localhost:8080,http://localhost:9529,http://localhost:44304;http://localhost:9528",
"SessionTimeOut": "30", //session
"IsMultiTenant": false //
},
"CacheProvider": {
"UseRedis": true,
// Redis
"Redis_ConnectionString": "172.16.0.17:6379,defaultdatabase=6",
//"Redis_InstanceName": "",
"Cache_Memcached_Configuration": ""
},
"SwaggerDoc": {
"ContactName": "Znyc",
"Description": "api接口采用token+签名验证,在使用swagger测试接口时须先获取Token;",
"Title": "Znyc Admin API 文档"
},
"SenparcSetting": {
"IsDebug": true,
"DefaultCacheNamespace": "DefaultCache",
"SenparcUnionAgentKey": "#{SenparcUnionAgentKey}#"
},
//
"SenparcWeixinSetting": {
"IsDebug": true,
"WxOpenAppId": "wxa883c42a8db02847",
"WxOpenAppSecret": "4b9bd0910aab6c7b5266b07d5c17dba6",
"WxOpenToken": "#{WxOpenToken}#",
"WxOpenEncodingAESKey": "#{WxOpenEncodingAESKey}#"
},
//
"WxOpen": {
"WxOpenAppId": "wx71f2b227f8eaf00a",
"WxOpenAppSecret": "bf868056d4e58f4b2831ff74308120ac",
"WxOpenToken": "rzC0pRTuBznwd3",
"WxOpenEncodingAESKey": "Z9ifQKA8kvQjybOXuXl8I0r9cFHWJGwW2q5iE5e37AM"
},
"MongoConnection": {
"ConnectionString": "mongodb://172.16.0.16:27017",
"Database": "ZNYCGPS",
"IsSSL": true
},
"Hangfire": {
"Login": "znyc",
"Password": "znyc2021"
}
}