From ebabc033e94023ed1666a8efd937c1509535c49c Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 8 Jun 2023 18:36:48 +0800 Subject: [PATCH] test --- tik_tok/md_tik_tok_goods.go | 2 ++ tik_tok/svc_tik_tok_team.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tik_tok/md_tik_tok_goods.go b/tik_tok/md_tik_tok_goods.go index 5724f98..d8b48bc 100644 --- a/tik_tok/md_tik_tok_goods.go +++ b/tik_tok/md_tik_tok_goods.go @@ -21,6 +21,7 @@ type TikTokGoods struct { ActivityEndTime string `json:"promotion_end_time"` PublicCommission string `json:"public_commission"` ServiceRatio string `json:"service_ratio"` + UpdateTime string `json:"update_time"` } type TikTokGoodsLm struct { @@ -46,6 +47,7 @@ type TikTokGoodsLm struct { ServiceRatio string `json:"service_ratio"` Imgs []string `json:"imgs"` ShopTotalScore interface{} `json:"shop_total_score"` + UpdateTime string `json:"update_time"` } type ShopTotalScoreData struct { Level int `json:"level"` diff --git a/tik_tok/svc_tik_tok_team.go b/tik_tok/svc_tik_tok_team.go index 2482034..6fd0251 100644 --- a/tik_tok/svc_tik_tok_team.go +++ b/tik_tok/svc_tik_tok_team.go @@ -72,6 +72,7 @@ func TrusteeshipProduct(args map[string]string) ([]TikTokGoods, int64) { } for _, v := range lmData.Data.Data { tmp := CommGoodsDetail(v) + tmp.UpdateTime = v.UpdateTime goodsList = append(goodsList, tmp) } fmt.Println(string(zhios_third_party_utils.Serialize(goodsList))) @@ -122,6 +123,7 @@ func ActivityProduct(args map[string]string) ([]TikTokGoods, int64, string) { } for _, v := range lmData.Data.Data { tmp := CommGoodsDetail(v) + tmp.UpdateTime = v.UpdateTime goodsList = append(goodsList, tmp) } fmt.Println(string(zhios_third_party_utils.Serialize(goodsList)))