|
|
|
@ -1,20 +1,20 @@
|
|
|
|
|
{
|
|
|
|
|
"ConnectionStrings": {
|
|
|
|
|
"DbType": "MySql", //数据库将支持两种模式【SqlServer,MySql】
|
|
|
|
|
//"SqlConnection": "Server=127.0.0.1;uid=coreshop;pwd=coreshop;Database=coreshop;MultipleActiveResultSets=true;"
|
|
|
|
|
//"SqlConnection": "Server=127.0.0.1;uid=CoreShop;pwd=CoreShop;Database=CoreShop;MultipleActiveResultSets=true;"
|
|
|
|
|
//SqlServer数据库连接字符串,需要开启数据库连接复用【MultipleActiveResultSets=true】
|
|
|
|
|
|
|
|
|
|
"SqlConnection": "Server=mysql;Port=3306;Database=coreshop;Uid=root;Pwd=admin"
|
|
|
|
|
// Mysql数据库链接字符串,请保持后面的属性别少。经过测试,mysql版本需要5.7或以上
|
|
|
|
|
"SqlConnection": "Server=mysql;Port=3306;Database=CoreShop;Uid=root;Pwd=admin"
|
|
|
|
|
// Mysql数据库链接字符串,请保持后面的属性别少。经过测试,mysql版本需要5.7或以上,
|
|
|
|
|
},
|
|
|
|
|
//定时任务管理面板的账户密码
|
|
|
|
|
"HangFire": {
|
|
|
|
|
"Login": "coreshop",
|
|
|
|
|
"PassWord": "coreshop"
|
|
|
|
|
"Login": "CoreShop",
|
|
|
|
|
"PassWord": "CoreShop"
|
|
|
|
|
},
|
|
|
|
|
"AppConfig": {
|
|
|
|
|
"AppUrl": "https://admin.demo.coreshop.com.cn/", //后端管理地址
|
|
|
|
|
"AppInterFaceUrl": "https://api.demo.coreshop.com.cn/" //接口请求地址
|
|
|
|
|
"AppUrl": "https://admin.demo.CoreShop.com.cn/", //后端管理地址
|
|
|
|
|
"AppInterFaceUrl": "https://api.demo.CoreShop.com.cn/" //接口请求地址
|
|
|
|
|
},
|
|
|
|
|
//redis为必须启动项,请保持redis为正常可用
|
|
|
|
|
"RedisConfig": {
|
|
|
|
@ -25,13 +25,13 @@
|
|
|
|
|
//jwt授权认证的一些设置
|
|
|
|
|
"JwtConfig": {
|
|
|
|
|
"SecretKey": "8kh2luzmp0oq9wfbdeasygj647vr531n",
|
|
|
|
|
"Issuer": "coreshop",
|
|
|
|
|
"Audience": "corecms"
|
|
|
|
|
"Issuer": "CoreShop",
|
|
|
|
|
"Audience": "CoreCms"
|
|
|
|
|
},
|
|
|
|
|
//跨域设置
|
|
|
|
|
"Cors": {
|
|
|
|
|
"PolicyName": "CorsIpAccess", //策略名称
|
|
|
|
|
"EnableAllIPs": false, //是否应用所有的IP
|
|
|
|
|
"EnableAllIPs": false, //是否应用所有的IP,如设置为true,则取消跨域限制
|
|
|
|
|
// 支持多个域名端口,注意端口号后不要带/斜杆:比如localhost:8000/,是错的
|
|
|
|
|
// 注意,http://127.0.0.1:1818 和 http://localhost:1818 是不一样的
|
|
|
|
|
"IPs": "http://127.0.0.1:2364,http://localhost:2364"
|
|
|
|
@ -145,9 +145,9 @@
|
|
|
|
|
},
|
|
|
|
|
"PayCallBack": {
|
|
|
|
|
//微信支付回调
|
|
|
|
|
"WeChatPayUrl": "https://api.demo.coreshop.com.cn/Notify/WeChatPay/Unifiedorder",
|
|
|
|
|
"WeChatPayUrl": "https://api.demo.CoreShop.com.cn/Notify/WeChatPay/Unifiedorder",
|
|
|
|
|
//微信退款回调
|
|
|
|
|
"WeChatRefundUrl": "https://api.demo.coreshop.com.cn/Notify/WeChatPay/Refund",
|
|
|
|
|
"WeChatRefundUrl": "https://api.demo.CoreShop.com.cn/Notify/WeChatPay/Refund",
|
|
|
|
|
//支付宝支付回调
|
|
|
|
|
"AlipayUrl": "",
|
|
|
|
|
//支付宝退款回调
|
|
|
|
|