diff --git a/business/jxstore/partner/pdd/union.go b/business/jxstore/partner/pdd/union.go index 44f05b147..606e7b4bc 100644 --- a/business/jxstore/partner/pdd/union.go +++ b/business/jxstore/partner/pdd/union.go @@ -101,6 +101,7 @@ func (s *UnionHandler) GetUnionMatterList(ctx *jxcontext.Context, vendorCatID, k CouponRemainQuantity: v.CouponRemainQuantity, MinNormalPrice: v.MinNormalPrice, SalesCount: v.SalesTip, + PromotionRate: v.PromotionRate, } goodsList = append(goodsList, good) } @@ -119,6 +120,7 @@ func (s *UnionHandler) GetUnionMatterDetail(ctx *jxcontext.Context, goodsID stri result.Img = goods.GoodsThumbnailURL result.CouponDiscount = goods.CouponDiscount result.MinNormalPrice = goods.MinNormalPrice + result.CouponRemainQuantity = goods.CouponRemainQuantity result.SalesCount = goods.SalesTip result.Imgs = strings.Join(goods.GoodsGalleryUrls, ",") result.MainImg = goods.GoodsImageURL @@ -127,6 +129,7 @@ func (s *UnionHandler) GetUnionMatterDetail(ctx *jxcontext.Context, goodsID stri result.LgstTxt = goods.LgstTxt result.DescTxt = goods.DescTxt result.ServTxt = goods.ServTxt + result.PromotionRate = goods.PromotionRate } return result, err }