From cbe37a581f1ecd1f686957a9dc66c45d9d969761 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 10 Feb 2023 17:47:58 +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 f982bc3..f1c6b50 100644 --- a/tik_tok/md_tik_tok_goods.go +++ b/tik_tok/md_tik_tok_goods.go @@ -20,6 +20,7 @@ type TikTokGoods struct { ActivityStartTime string `json:"promotion_start_time"` ActivityEndTime string `json:"promotion_end_time"` PublicCommission string `json:"public_commission"` + ServiceRatio string `json:"service_ratio"` } type TikTokGoodsLm struct { @@ -42,6 +43,7 @@ type TikTokGoodsLm struct { Title string `json:"title"` ActivityStartTime string `json:"promotion_start_time"` ActivityEndTime string `json:"promotion_end_time"` + ServiceRatio string `json:"service_ratio"` Imgs []string `json:"imgs"` ShopTotalScore ShopTotalScore `json:"shop_total_score"` } diff --git a/tik_tok/svc_tik_tok_goods.go b/tik_tok/svc_tik_tok_goods.go index 8b6deef..aa90426 100644 --- a/tik_tok/svc_tik_tok_goods.go +++ b/tik_tok/svc_tik_tok_goods.go @@ -186,6 +186,7 @@ func CommGoodsDetail(goods TikTokGoodsLm) TikTokGoods { ActivityEndTime: goods.ActivityEndTime, ShopTotalScore: ShopTotalScore, YhqPrice: "0", + ServiceRatio: goods.ServiceRatio, } if goods.ActivityCosRatio > 0 { tmp.PublicCommission = tmp.Commission