瀏覽代碼

test

master
huangjiajun 1 年之前
父節點
當前提交
ebabc033e9
共有 2 個檔案被更改,包括 4 行新增0 行删除
  1. +2
    -0
      tik_tok/md_tik_tok_goods.go
  2. +2
    -0
      tik_tok/svc_tik_tok_team.go

+ 2
- 0
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"`


+ 2
- 0
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)))


Loading…
取消
儲存