瀏覽代碼

更新

master
huangjiajun 1 年之前
父節點
當前提交
c0993be60e
共有 2 個檔案被更改,包括 3 行新增0 行删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存