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.8 KiB
133 lines
5.8 KiB
2 years ago
|
{
|
||
|
"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 �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": [
|
||
|
{
|
||
|
"MerchantId": "1610262173",
|
||
|
"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