huangjiajun 1 anno fa
parent
commit
c9db34796b
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      tik_tok/svc_tik_tok_goods.go

+ 3
- 0
tik_tok/svc_tik_tok_goods.go Vedi File

@@ -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

}

Caricamento…
Annulla
Salva