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.

133 lines
5.7 KiB

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DbType": "MySql",
"SqlConnection": "Server=172.16.0.8; Port=43306; Database=znyc_cloudcar; Uid=znyc; Pwd=PWgMtIHz; Charset=utf8mb4",
"SqlMonitorCommand": false,
"SqlCurd": false
},
//redisΪredisΪ
"RedisConfig": {
"UseTimedTask": true, //redisΪʱ
// Service Ҫдredisķдַ
"ConnectionString": "172.16.0.8:46379" //redisݿַ
},
//ʱ˻
"HangFire": {
"Login": "znyc",
"PassWord": "znyc2022"
},
"AppConfig": {
"AppUrl": "https://admin.demo.coreshop.cn/", //˹ַ
"AppInterFaceUrl": "https://api.demo.coreshop.cn/" //ӿַ
},
//jwtȨ֤һЩ
"JwtConfig": {
"SecretKey": "8kh2luzmp0oq9wfbdeasygj647vr531n",
"Issuer": "CoreShop",
"Audience": "CoreCms",
"Expires": 480
},
//
"Cors": {
"PolicyName": "CorsIpAccess", //
"EnableAllIPs": true, //ǷӦеIPΪtrueȡ
// ֶ֧˿ڣע˿ںźҪ/бˣlocalhost:8000/Ǵ
// עhttp://127.0.0.1:1818 http://localhost:1818 Dzһ
"IPs": "https://localhost:7214;http://localhost:5214"
},
//м
"Middleware": {
//¼Ӧ
"RequestResponseLog": {
"Enabled": false
},
//¼û
"RecordAccessLogs": {
"Enabled": false,
"IgnoreApis": "/api/Home/GetNav,/api/Home/GetIds4Users"
},
//¼IP
"IPLog": {
"Enabled": false
}
},
// ΢֧
// ãWeChatPayOptions
"WeChatPay": {
// Ӧú
// ΢Źƽ̨AppId΢ſƽ̨AppId΢СAppIdҵ΢CorpId
"AppId": "",
// ̻
// Ϊ΢֧̻ƽ̨̻
"MchId": "",
// APIԿ
// Ϊ΢֧̻ƽ̨APIԿעAPIv3Կ
"APIKey": "",
// APIv3Կ
// Ϊ΢֧̻ƽ̨APIv3ԿעAPIԿv3ӿڱ
"APIv3Key": "",
// API֤(.p12)
// Ϊ΢֧̻ƽ̨API֤(.p12)v3ӿڱ
// Ϊ֤ļ(.p12)· / ֤ļ(.p12)base64ַ
"Certificate": "WxPayCert\\apiclient_cert.p12",
// RSAԿ
// Ŀǰ"��ҵ������п�API"ʱʹãִбʾе"��ȡRSA���ܹ�ԿAPI"ɻȡ
"RsaPublicKey": ""
},
"PayCallBack": {
//΢֧ص
"WeChatPayUrl": "https://api.demo.coreshop.cn/Notify/WeChatPay/Unifiedorder",
//΢˿ص
"WeChatRefundUrl": "https://api.demo.coreshop.cn/Notify/WeChatPay/Refund",
//֧֧ص
"AlipayUrl": "",
//֧˿ص
"AlipayRefundUrl": ""
},
"WeChatOptions": {
//ں
"WeiXinAppId": "wxc2239a57d8f49a48",
"WeiXinAppSecret": "666fea79827d9f7c517f8a0a6f33ae6b",
"EncodingAESKey": "Z9ifQKA8kvQjybOXuXl8I0r9cFHWJGwW2q5iE5e37AM",
"Token": "rzC0pRTuBznwd3",
//С
"WxOpenAppId": "wx84d4d5585fac29a8",
"WxOpenAppSecret": "f096947a303988ae02f1a3a86570d67e",
"WxOpenToken": "",
"WxOpenEncodingAESKey": ""
},
"CosConfig": {
"secretId": "AKIDGMBk7D3cuvf8KFtGMBj00iALFsEJ7dsq",
"secretKey": "i9IBn8Bzav0pMcbJkunPjmY3HsCF2Zom",
"bucket": "Znyc-images-1304677865",
"region": "ap-guangzhou",
"allowPrefix": "a.jpg",
"durationSeconds": 1800,
"allowActions": "name/cos:PutObject,name/cos:PostObject,name/cos:InitiateMultipartUpload,name/cos:ListMultipartUploads,name/cos:ListParts,name/cos:UploadPart,name/cos:CompleteMultipartUpload"
},
"BaiduConfig": {
"AppID": "23954973",
"ApiKey": "zCU8ZvomVm3upmIlI9kY8svK",
"SecretKey": "H4m3G8adKbRpIICyKtX8rqjHmjCugld9"
},
"TenpayOptions": {
"Merchants":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