Ver código fonte

更新

master
huangjiajun 1 ano atrás
pai
commit
c0993be60e
2 arquivos alterados com 3 adições e 0 exclusões
  1. +2
    -0
      tik_tok/md_tik_tok_goods.go
  2. +1
    -0
      tik_tok/svc_tik_tok_goods.go

+ 2
- 0
tik_tok/md_tik_tok_goods.go Ver arquivo

@@ -22,6 +22,7 @@ type TikTokGoods struct {
PublicCommission string `json:"public_commission"`
ServiceRatio string `json:"service_ratio"`
UpdateTime string `json:"update_time"`
ApplyId string `json:"apply_id"`
}

type TikTokGoodsLm struct {
@@ -48,6 +49,7 @@ type TikTokGoodsLm struct {
Imgs []string `json:"imgs"`
ShopTotalScore interface{} `json:"shop_total_score"`
UpdateTime string `json:"update_time"`
ApplyId int64 `json:"apply_id"`
}
type ShopTotalScoreData struct {
Level int `json:"level"`


+ 1
- 0
tik_tok/svc_tik_tok_goods.go Ver arquivo

@@ -258,6 +258,7 @@ func CommGoodsDetail(goods TikTokGoodsLm) TikTokGoods {
ShopTotalScore: ShopTotalScore,
YhqPrice: "0",
ServiceRatio: goods.ServiceRatio,
ApplyId: zhios_third_party_utils.Int64ToStr(goods.ApplyId),
}
if goods.ActivityCosRatio > 0 {
tmp.PublicCommission = tmp.Commission


Carregando…
Cancelar
Salvar