From 6ad994b3a0bf2dc044f4e6a4bc1bf01d2501940d Mon Sep 17 00:00:00 2001 From: howell <2827207845@qq.com> Date: Fri, 10 Dec 2021 18:53:55 +0800 Subject: [PATCH] fix: goods7 --- internal/api/mobile/goods/common_list.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/api/mobile/goods/common_list.go b/internal/api/mobile/goods/common_list.go index b9670be..abf9962 100755 --- a/internal/api/mobile/goods/common_list.go +++ b/internal/api/mobile/goods/common_list.go @@ -18,7 +18,6 @@ import ( "recook/internal/v2/model/keywords" goods2 "recook/internal/v2/model/recook/goods" "recook/internal/v2/model/recook/user" - "recook/internal/v2/model/special_sale" "recook/tools" "strconv" "time" @@ -414,7 +413,7 @@ func GetGoodsRespByInfoList(goodsList []goods.Information, userID uint) []QueryC var startTime = formatime.Second{} var endTime = formatime.Second{} - inventory := sku.Inventory //sku库存,这个其实用不到的 + inventory := sku.Inventory //sku库存,这个其实用不到的 salesVolume := v.SalesVolume //这个用主产品的已卖 discountPrice := sku.DiscountPrice //sku 价格 commission := sku.Commission //sku佣金 @@ -431,7 +430,7 @@ func GetGoodsRespByInfoList(goodsList []goods.Information, userID uint) []QueryC discountPrice = promotionSku.DiscountPrice //活动的价格 //commission = promotionSku.Commission //活动的佣金 - inventory = promotionSku.Inventory //活动的库存 + inventory = promotionSku.Inventory //活动的库存 startTime = promotionGoods.StartTime endTime = promotionGoods.EndTime // 打上特卖标签