Browse Source

更新

master
huangjiajun 9 months ago
parent
commit
ba275fcaf7
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tik_tok/svc_tik_tok_goods.go

+ 4
- 0
tik_tok/svc_tik_tok_goods.go View File

@@ -150,6 +150,10 @@ func GetDetail(args map[string]string) TikTokGoods {
Imgs: v.BaseInfo.Imgs,
ShopTotalScore: v.ShopInfo.ShopTotalScore,
}
if v.PromotionInfo.KolCosFee != v.PromotionInfo.CosFee {
tmp1.CosFee = int64(v.PromotionInfo.KolCosFee)
tmp1.CosRatio = float64(v.PromotionInfo.KolCosRatio)
}
tmp := CommGoodsDetail(tmp1)
if tmp.GoodsID == args["id"] {
return tmp


Loading…
Cancel
Save