|
@@ -150,6 +150,10 @@ func GetDetail(args map[string]string) TikTokGoods { |
|
|
Imgs: v.BaseInfo.Imgs, |
|
|
Imgs: v.BaseInfo.Imgs, |
|
|
ShopTotalScore: v.ShopInfo.ShopTotalScore, |
|
|
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) |
|
|
tmp := CommGoodsDetail(tmp1) |
|
|
if tmp.GoodsID == args["id"] { |
|
|
if tmp.GoodsID == args["id"] { |
|
|
return tmp |
|
|
return tmp |
|
|