diff --git a/tik_tok/svc_tik_tok_goods.go b/tik_tok/svc_tik_tok_goods.go index a328d7a..8e7e910 100644 --- a/tik_tok/svc_tik_tok_goods.go +++ b/tik_tok/svc_tik_tok_goods.go @@ -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