【优化】移除旧版微信自定义交易组件相关配置常量及定时任务信息。

This commit is contained in:
jianweie code
2023-11-15 15:18:56 +08:00
parent 84f8c5b1e7
commit 1a26d2b9e1
7 changed files with 0 additions and 445 deletions

View File

@@ -299,9 +299,6 @@ namespace CoreCms.Net.Services
orderInfo.billAftersalesId = afterSalesId;
// 微信自定义交易组件-同步创建售后单
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.TransactionComponentAfterSaleCreateSync, JsonConvert.SerializeObject(orderInfo));
jm.status = true;
jm.data = billAftersales;
jm.msg = "售后申请成功!";

View File

@@ -343,9 +343,6 @@ namespace CoreCms.Net.Services
//订单更新发货状态,发送各种消息
await OrderShip(orderInfo, items, billDelivery, storeId);
//发货同步处理
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.TransactionComponentOrderShipSync, billDelivery.deliveryId);
jm.status = true;
jm.msg = "发货成功";

View File

@@ -2125,12 +2125,6 @@ namespace CoreCms.Net.Services
//订单完成结算订单
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.OrderFinishCommand, orderInfo.orderId);
if (source == "system")
{
// 微信自定义交易组件-订单确认收货
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.TransactionComponentOrderDeliveryRecieveSync, JsonConvert.SerializeObject(orderInfo));
}
jm.status = true;
jm.msg = "订单完成";
@@ -2199,10 +2193,6 @@ namespace CoreCms.Net.Services
};
await _orderLogServices.InsertAsync(orderLog);
// 微信自定义交易组件-订单确认收货
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.TransactionComponentOrderDeliveryRecieveSync, JsonConvert.SerializeObject(orderInfo));
jm.status = true;
jm.msg = "确认收货成功";