【优化】调整运费计算逻辑为异步处理。

This commit is contained in:
jianweie code
2023-04-03 02:30:16 +08:00
parent a87569c36d
commit 8b7377de63
5 changed files with 19 additions and 17 deletions

View File

@@ -583,7 +583,7 @@ namespace CoreCms.Net.Services
order.shipName = userShipInfo.name;
order.shipMobile = userShipInfo.mobile;
var ship = _shipServices.GetShip(userShipInfo.areaId);
var ship = await _shipServices.GetShip(userShipInfo.areaId);
if (ship != null)
{
order.logisticsId = ship.id;