mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:23:26 +08:00
【优化】调整运费计算逻辑为异步处理。
This commit is contained in:
@@ -59,7 +59,7 @@ namespace CoreCms.Net.IServices
|
||||
/// <param name="weight">重量,单位g</param>
|
||||
/// <param name="totalmoney">商品总价</param>
|
||||
/// <returns></returns>
|
||||
decimal GetShipCost(int areaId = 0, decimal weight = 0, decimal totalmoney = 0);
|
||||
Task<decimal> GetShipCost(int areaId = 0, decimal weight = 0, decimal totalmoney = 0);
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -75,7 +75,7 @@ namespace CoreCms.Net.IServices
|
||||
/// <summary>
|
||||
/// 根据地区获取配送方式
|
||||
/// </summary>
|
||||
CoreCmsShip GetShip(int areaId = 0);
|
||||
Task<CoreCmsShip> GetShip(int areaId = 0);
|
||||
|
||||
#region 重写增删改查操作===========================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user