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.
132 lines
5.8 KiB
132 lines
5.8 KiB
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DbType": "MySql",
|
|
"SqlConnection": "Server= 81.71.138.239; Port=43306; Database=znyc_cloudcar; Uid=znyc; Pwd=Uo!DQ*ee; Charset=utf8mb4",
|
|
"SqlMonitorCommand": false,
|
|
"SqlCurd": false
|
|
},
|
|
//redis为必须启动项,请保持redis为正常可用
|
|
"RedisConfig": {
|
|
"UseTimedTask": true, //启用redis作为定时任务
|
|
// 如果采用容器化部署Service 要写成redis的服务名,否则写地址
|
|
"ConnectionString": "81.71.148.57:46379,password=dfeFEgeGH/,defaultdatabase=1" //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 是不一样的
|
|
"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": [
|
|
{
|
|
"MerchantId": "1610262173",
|
|
"SecretV3": "KlRZJKvAstv4SJapStuyHhCOzqrrjSUD",
|
|
"CertSerialNumber": "6C37840DA9EB9598A7AE3064655C27B9F5F6CF02",
|
|
"CertPrivateKey": "-----BEGINPRIVATEKEY-----MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDF+wWe6XTe/o1K8Ri2lXMRJFgtjZYjxX9E8GZt7rirZRMlsgpqBjymJt/7P2LAxqafUbM9bMOlo6Ecppjyw8yrSGTaHqSzWhoP7NuxpCw9Y4x8QOCIjsp0+UV6aE/AVw/+jfhkn7dBfAqPkIrpRlLjTYti0GSLwPVYCHDHKyYKo2pXbAlCpLjZY0c5Q4cAajPYLUrtAd9Jwzo1vt8aTcIsgPVK8nXJM00BYsvT9NVlV15eWgU/cXg1tz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