mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
接口端【优化】:优化接口端提供给小程序显示的销量数据。
This commit is contained in:
@@ -241,5 +241,16 @@ namespace CoreCms.Net.IRepository
|
||||
Expression<Func<GoodListDTO, object>> orderByPredicate, OrderByType orderByType, bool blUseNoLock = false,
|
||||
bool isDataCache = false, int cacheTimes = int.MaxValue);
|
||||
|
||||
|
||||
|
||||
#region 获取单个商品的销售数量
|
||||
/// <summary>
|
||||
/// 获取单个商品的销售数量
|
||||
/// </summary>
|
||||
/// <param name="goodId"></param>
|
||||
/// <returns></returns>
|
||||
Task<int> QueryOneGoodSalesVolume(int goodId);
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user