mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
【优化】优化完成订单业务员,【佣金计算】使用延迟队列导致时效性不高的问题。
This commit is contained in:
@@ -2147,9 +2147,9 @@ namespace CoreCms.Net.Services
|
||||
await _orderLogServices.InsertAsync(orderLog);
|
||||
|
||||
//订单完成结算订单
|
||||
await _redisOperationRepository.SortedSetAddAsync(RedisMessageQueueKey.OrderFinishCommand, orderInfo.orderId, score);
|
||||
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.OrderFinishCommand, orderInfo.orderId);
|
||||
|
||||
if (source== "system")
|
||||
if (source == "system")
|
||||
{
|
||||
// 微信自定义交易组件-订单确认收货
|
||||
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.TransactionComponentOrderDeliveryRecieveSync, JsonConvert.SerializeObject(orderInfo));
|
||||
@@ -2272,7 +2272,7 @@ namespace CoreCms.Net.Services
|
||||
return jm;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region 重写根据条件列表数据
|
||||
/// <summary>
|
||||
/// 重写根据条件列表数据
|
||||
|
||||
Reference in New Issue
Block a user