mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-22 14:17:21 +08:00
【优化】优化完成订单业务员,【佣金计算】使用延迟队列导致时效性不高的问题。
This commit is contained in:
@@ -40,11 +40,10 @@ namespace CoreCms.Net.RedisMQ
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 订单完成时,结算该订单|延迟队列
|
||||
/// 订单完成时,结算该订单
|
||||
/// </summary>
|
||||
/// <param name="msg"></param>
|
||||
/// <returns></returns>
|
||||
//[SubscribeDelay(RedisMessageQueueKey.OrderFinishCommand)]
|
||||
[Subscribe(RedisMessageQueueKey.OrderFinishCommand)]
|
||||
|
||||
private async Task OrderFinishCommand(string msg)
|
||||
|
||||
@@ -2147,7 +2147,7 @@ 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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user