Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
c9db34796b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tik_tok/svc_tik_tok_goods.go

+ 3
- 0
tik_tok/svc_tik_tok_goods.go View File

@@ -229,6 +229,9 @@ func CommGoodsDetail(goods TikTokGoodsLm) TikTokGoods {
} else { } else {
tmp.YhqPrice = zhios_third_party_utils.Float64ToStr(zhios_third_party_utils.AnyToFloat64(goods.Price)/100 - zhios_third_party_utils.AnyToFloat64(goods.CouponPrice)/100) 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 return tmp


} }

Loading…
Cancel
Save