【调整】优化redis仓储,实现LockTake/LockRelease锁处理并发问题。

This commit is contained in:
大灰灰
2022-09-15 01:28:34 +08:00
parent a3630fecc0
commit 5494608f7a
7 changed files with 478 additions and 90 deletions

View File

@@ -14,16 +14,16 @@
"PassWord": "CoreShopProfessional"
},
"AppConfig": {
"AppUrl": "https://admin.pro.coreshop.cn/", //后端管理地址
"AppInterFaceUrl": "https://api.pro.coreshop.cn/", //接口请求地址
"AppVersion": "CoreShopProfessional v0.5.5"
"AppUrl": "https://admin.test.pro.coreshop.cn/", //后端管理地址
"AppInterFaceUrl": "https://api.test.pro.coreshop.cn/", //接口请求地址
"AppVersion": "CoreShopProfessional v0.6.0"
},
//redis为必须启动项请保持redis为正常可用
"RedisConfig": {
"UseCache": true, //启用redis作为内存选择
"UseTimedTask": true, //启用redis作为定时任务
// 如果采用容器化部署Service 要写成redis的服务名否则写地址
"ConnectionString": "127.0.0.1:6379,password=CoreShop,connectTimeout=3000,connectRetry=1,syncTimeout=10000,DefaultDatabase=9,abortConnect=false" //redis数据库连接字符串
"ConnectionString": "127.0.0.1:6379,password=coreshop,connectTimeout=30000,responseTimeout=30000,abortConnect=false,connectRetry=1,syncTimeout=10000,DefaultDatabase=9" //redis数据库连接字符串
},
//jwt授权认证的一些设置
"JwtConfig": {
@@ -220,11 +220,11 @@
},
"PayCallBack": {
//微信支付回调
"WeChatPayUrl": "https://api.pro.coreshop.cn/Notify/WeChatPay/Unifiedorder",
"WeChatPayUrl": "https://api.test.pro.coreshop.cn/Notify/WeChatPay/Unifiedorder",
//微信退款回调
"WeChatRefundUrl": "https://api.pro.coreshop.cn/Notify/WeChatPay/Refund",
"WeChatRefundUrl": "https://api.test.pro.coreshop.cn/Notify/WeChatPay/Refund",
//支付宝支付回调
"AlipayUrl": "https://api.pro.coreshop.cn/Notify/AliPay/Unifiedorder",
"AlipayUrl": "https://api.test.pro.coreshop.cn/Notify/AliPay/Unifiedorder",
//支付宝退款回调
"AlipayRefundUrl": ""
},