mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:23:26 +08:00
接口端【新增】:服务商品详情增加销售数量字段数据返回。
This commit is contained in:
@@ -208,6 +208,8 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
{
|
||||
serviceInfo.openStatus = (int)GlobalEnumVars.ServicesOpenStatus.haveExpired;
|
||||
}
|
||||
//数量(可自行获取状态,默认就是下了多少单计算多少。也方便刷量。)
|
||||
serviceInfo.buyCount = await _userServicesOrderServices.GetCountAsync(p => p.servicesId == entity.id);
|
||||
|
||||
jm.status = true;
|
||||
jm.data = serviceInfo;
|
||||
|
||||
Reference in New Issue
Block a user