From c0993be60eaee205efe819b6f1bef5d85fdbd34d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 14 Jul 2023 15:09:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tik_tok/md_tik_tok_goods.go | 2 ++ tik_tok/svc_tik_tok_goods.go | 1 + 2 files changed, 3 insertions(+) diff --git a/tik_tok/md_tik_tok_goods.go b/tik_tok/md_tik_tok_goods.go index d8b48bc..741ad33 100644 --- a/tik_tok/md_tik_tok_goods.go +++ b/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"` diff --git a/tik_tok/svc_tik_tok_goods.go b/tik_tok/svc_tik_tok_goods.go index 734a13f..395b125 100644 --- a/tik_tok/svc_tik_tok_goods.go +++ b/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