|
@@ -2573,18 +2573,14 @@ public class OrderController : BaseController
|
|
|
|
|
|
_mapper.Map(expiredTimeConfig, order);
|
|
|
await _orderRepository.UpdateAsync(order, HttpContext.RequestAborted);
|
|
|
- // 平均派单
|
|
|
- if (dto.BusinessType == EBusinessType.Send)
|
|
|
+ var averageSendOrder = bool.Parse(_systemSettingCacheManager.GetSetting(SettingConstants.AverageSendOrder).SettingValue[0]);
|
|
|
+ // 平均派单
|
|
|
+ if (dto.BusinessType == EBusinessType.Send && averageSendOrder)
|
|
|
{
|
|
|
dto.NextHandlers = await _orderDomainService.AverageOrder(HttpContext.RequestAborted);
|
|
|
}
|
|
|
|
|
|
await _workflowApplication.NextAsync(dto, order.ExpiredTime, HttpContext.RequestAborted);
|
|
|
-
|
|
|
- if (dto.IsSms)
|
|
|
- {
|
|
|
- //发送短信
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
/// <summary>
|