|
|
@@ -229,6 +229,9 @@ func CommGoodsDetail(goods TikTokGoodsLm) TikTokGoods { |
|
|
|
} else { |
|
|
|
tmp.YhqPrice = zhios_third_party_utils.Float64ToStr(zhios_third_party_utils.AnyToFloat64(goods.Price)/100 - zhios_third_party_utils.AnyToFloat64(goods.CouponPrice)/100) |
|
|
|
} |
|
|
|
if len(tmp.Imgs) == 0 { |
|
|
|
tmp.Imgs = []string{tmp.GoodsImg} |
|
|
|
} |
|
|
|
return tmp |
|
|
|
|
|
|
|
} |