Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
c0993be60e
2 changed files with 3 additions and 0 deletions
  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 View File

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

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


Loading…
Cancel
Save