|
|
@@ -1,5 +1,7 @@ |
|
|
|
package chanxuanTikTok |
|
|
|
|
|
|
|
import "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/md" |
|
|
|
|
|
|
|
type ChanxuanTikTokGoods struct { |
|
|
|
Title string `json:"title"` |
|
|
|
Cover string `json:"cover"` |
|
|
@@ -51,46 +53,35 @@ type ChanxuanTikTokGoodsDetail struct { |
|
|
|
AwemeCover string `json:"aweme_cover"` |
|
|
|
AwemeUrl string `json:"aweme_url"` |
|
|
|
} `json:"awemes_info"` |
|
|
|
BrandCode string `json:"brand_code"` |
|
|
|
Category string `json:"category"` |
|
|
|
CosRatio int `json:"cos_ratio"` |
|
|
|
Cover string `json:"cover"` |
|
|
|
DescLevel int `json:"desc_level"` |
|
|
|
DescScore int `json:"desc_score"` |
|
|
|
DetailImages []string `json:"detail_images"` |
|
|
|
DetailUrl string `json:"detail_url"` |
|
|
|
ExprLevel int `json:"expr_level"` |
|
|
|
ExprScore int `json:"expr_score"` |
|
|
|
Gain string `json:"gain"` |
|
|
|
Images []string `json:"images"` |
|
|
|
KolCosRatio int `json:"kol_cos_ratio"` |
|
|
|
OriginPrice float64 `json:"origin_price"` |
|
|
|
PostLevel int `json:"post_level"` |
|
|
|
PostScore float64 `json:"post_score"` |
|
|
|
Price float64 `json:"price"` |
|
|
|
ProductId int64 `json:"product_id"` |
|
|
|
PromotionEndTime string `json:"promotion_end_time"` |
|
|
|
PromotionStartTime string `json:"promotion_start_time"` |
|
|
|
Sales int `json:"sales"` |
|
|
|
SellPoint string `json:"sell_point"` |
|
|
|
ServLevel int `json:"serv_level"` |
|
|
|
ServScore float64 `json:"serv_score"` |
|
|
|
ShopIcon string `json:"shop_icon"` |
|
|
|
ShopId int `json:"shop_id"` |
|
|
|
ShopName string `json:"shop_name"` |
|
|
|
Skus struct { |
|
|
|
Field1 struct { |
|
|
|
EffectivePrice int `json:"effective_price"` |
|
|
|
Price int `json:"price"` |
|
|
|
StockNum int `json:"stock_num"` |
|
|
|
} `json:"1801560319889520"` |
|
|
|
} `json:"skus"` |
|
|
|
Spec []struct { |
|
|
|
Name string `json:"name"` |
|
|
|
SpecItems []struct { |
|
|
|
Id string `json:"id"` |
|
|
|
Name string `json:"name"` |
|
|
|
} `json:"spec_items"` |
|
|
|
} `json:"spec"` |
|
|
|
Title string `json:"title"` |
|
|
|
BrandCode string `json:"brand_code"` |
|
|
|
Category string `json:"category"` |
|
|
|
CosRatio int `json:"cos_ratio"` |
|
|
|
Cover string `json:"cover"` |
|
|
|
DescLevel int `json:"desc_level"` |
|
|
|
DescScore int `json:"desc_score"` |
|
|
|
DetailImages []string `json:"detail_images"` |
|
|
|
DetailUrl string `json:"detail_url"` |
|
|
|
ExprLevel int `json:"expr_level"` |
|
|
|
ExprScore int `json:"expr_score"` |
|
|
|
Gain string `json:"gain"` |
|
|
|
Images []string `json:"images"` |
|
|
|
KolCosRatio int `json:"kol_cos_ratio"` |
|
|
|
OriginPrice float64 `json:"origin_price"` |
|
|
|
PostLevel int `json:"post_level"` |
|
|
|
PostScore float64 `json:"post_score"` |
|
|
|
Price float64 `json:"price"` |
|
|
|
ProductId int64 `json:"product_id"` |
|
|
|
PromotionEndTime string `json:"promotion_end_time"` |
|
|
|
PromotionStartTime string `json:"promotion_start_time"` |
|
|
|
Sales int `json:"sales"` |
|
|
|
SellPoint string `json:"sell_point"` |
|
|
|
ServLevel int `json:"serv_level"` |
|
|
|
ServScore float64 `json:"serv_score"` |
|
|
|
ShopIcon string `json:"shop_icon"` |
|
|
|
ShopId int `json:"shop_id"` |
|
|
|
ShopName string `json:"shop_name"` |
|
|
|
Pictures map[string]md.PicturesData `json:"pictures"` |
|
|
|
Skus map[string]md.SkusData `json:"skus"` |
|
|
|
Specs []md.SpecsData `json:"specs"` |
|
|
|
Title string `json:"title"` |
|
|
|
} |