接口端【优化】:优化接口端提供给小程序显示的销量数据。

This commit is contained in:
jianweie code
2024-11-18 22:48:59 +08:00
parent d5a1d09406
commit b1e8626e9a
3 changed files with 36 additions and 3 deletions

View File

@@ -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
}
}