aa
This commit is contained in:
@@ -101,6 +101,7 @@ func (s *UnionHandler) GetUnionMatterList(ctx *jxcontext.Context, vendorCatID, k
|
|||||||
CouponRemainQuantity: v.CouponRemainQuantity,
|
CouponRemainQuantity: v.CouponRemainQuantity,
|
||||||
MinNormalPrice: v.MinNormalPrice,
|
MinNormalPrice: v.MinNormalPrice,
|
||||||
SalesCount: v.SalesTip,
|
SalesCount: v.SalesTip,
|
||||||
|
PromotionRate: v.PromotionRate,
|
||||||
}
|
}
|
||||||
goodsList = append(goodsList, good)
|
goodsList = append(goodsList, good)
|
||||||
}
|
}
|
||||||
@@ -119,6 +120,7 @@ func (s *UnionHandler) GetUnionMatterDetail(ctx *jxcontext.Context, goodsID stri
|
|||||||
result.Img = goods.GoodsThumbnailURL
|
result.Img = goods.GoodsThumbnailURL
|
||||||
result.CouponDiscount = goods.CouponDiscount
|
result.CouponDiscount = goods.CouponDiscount
|
||||||
result.MinNormalPrice = goods.MinNormalPrice
|
result.MinNormalPrice = goods.MinNormalPrice
|
||||||
|
result.CouponRemainQuantity = goods.CouponRemainQuantity
|
||||||
result.SalesCount = goods.SalesTip
|
result.SalesCount = goods.SalesTip
|
||||||
result.Imgs = strings.Join(goods.GoodsGalleryUrls, ",")
|
result.Imgs = strings.Join(goods.GoodsGalleryUrls, ",")
|
||||||
result.MainImg = goods.GoodsImageURL
|
result.MainImg = goods.GoodsImageURL
|
||||||
@@ -127,6 +129,7 @@ func (s *UnionHandler) GetUnionMatterDetail(ctx *jxcontext.Context, goodsID stri
|
|||||||
result.LgstTxt = goods.LgstTxt
|
result.LgstTxt = goods.LgstTxt
|
||||||
result.DescTxt = goods.DescTxt
|
result.DescTxt = goods.DescTxt
|
||||||
result.ServTxt = goods.ServTxt
|
result.ServTxt = goods.ServTxt
|
||||||
|
result.PromotionRate = goods.PromotionRate
|
||||||
}
|
}
|
||||||
return result, err
|
return result, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user