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