|
|
@@ -25,7 +25,105 @@ type TikTokGoods struct { |
|
|
|
ApplyId string `json:"apply_id"` |
|
|
|
ActivityId string `json:"activity_id"` |
|
|
|
} |
|
|
|
|
|
|
|
type TikTokGoodsLmNew struct { |
|
|
|
ActivityInfo struct { |
|
|
|
ActivityType interface{} `json:"activity_type"` |
|
|
|
} `json:"activity_info"` |
|
|
|
BaseInfo struct { |
|
|
|
CategoryId int `json:"category_id"` |
|
|
|
CategoryName string `json:"category_name"` |
|
|
|
Cover string `json:"cover"` |
|
|
|
DetailUrl string `json:"detail_url"` |
|
|
|
FirstCid int `json:"first_cid"` |
|
|
|
Imgs []string `json:"imgs"` |
|
|
|
InStock bool `json:"in_stock"` |
|
|
|
Price int `json:"price"` |
|
|
|
ProductId int64 `json:"product_id"` |
|
|
|
Sales int `json:"sales"` |
|
|
|
SecondCid int `json:"second_cid"` |
|
|
|
Success bool `json:"success"` |
|
|
|
ThirdCid int `json:"third_cid"` |
|
|
|
Title string `json:"title"` |
|
|
|
} `json:"base_info"` |
|
|
|
BrandInfo struct { |
|
|
|
BrandId interface{} `json:"brand_id"` |
|
|
|
BrandNameCn interface{} `json:"brand_name_cn"` |
|
|
|
BrandNameEn interface{} `json:"brand_name_en"` |
|
|
|
} `json:"brand_info"` |
|
|
|
CommentInfo struct { |
|
|
|
CommentNum interface{} `json:"comment_num"` |
|
|
|
CommentScore interface{} `json:"comment_score"` |
|
|
|
} `json:"comment_info"` |
|
|
|
CouponInfo struct { |
|
|
|
AvailableCoupons []interface{} `json:"available_coupons"` |
|
|
|
CouponPrice int `json:"coupon_price"` |
|
|
|
Success bool `json:"success"` |
|
|
|
} `json:"coupon_info"` |
|
|
|
LogisticsInfo struct { |
|
|
|
Text interface{} `json:"text"` |
|
|
|
} `json:"logistics_info"` |
|
|
|
MonthSaleData struct { |
|
|
|
DailyStatistics []struct { |
|
|
|
Date string `json:"date"` |
|
|
|
KolNum int `json:"kol_num"` |
|
|
|
OrderNum int `json:"order_num"` |
|
|
|
ViewNum int `json:"view_num"` |
|
|
|
} `json:"daily_statistics"` |
|
|
|
KolNum int `json:"kol_num"` |
|
|
|
OrderNum int `json:"order_num"` |
|
|
|
Success bool `json:"success"` |
|
|
|
ViewNum int `json:"view_num"` |
|
|
|
} `json:"month_sale_data"` |
|
|
|
PresellInfo struct { |
|
|
|
PresellType interface{} `json:"presell_type"` |
|
|
|
} `json:"presell_info"` |
|
|
|
PromotionInfo struct { |
|
|
|
CommissionType int `json:"commission_type"` |
|
|
|
CosFee int `json:"cos_fee"` |
|
|
|
CosRatio int `json:"cos_ratio"` |
|
|
|
KolCosFee int `json:"kol_cos_fee"` |
|
|
|
KolCosRatio int `json:"kol_cos_ratio"` |
|
|
|
Success bool `json:"success"` |
|
|
|
} `json:"promotion_info"` |
|
|
|
QualificationInfo struct { |
|
|
|
} `json:"qualification_info"` |
|
|
|
RightsInfo struct { |
|
|
|
} `json:"rights_info"` |
|
|
|
ShareInfo struct { |
|
|
|
Sharable bool `json:"sharable"` |
|
|
|
Success bool `json:"success"` |
|
|
|
} `json:"share_info"` |
|
|
|
ShopInfo struct { |
|
|
|
ShopId int `json:"shop_id"` |
|
|
|
ShopName string `json:"shop_name"` |
|
|
|
ShopTotalScore struct { |
|
|
|
LogisticsScore struct { |
|
|
|
Level int `json:"level"` |
|
|
|
Score string `json:"score"` |
|
|
|
Text string `json:"text"` |
|
|
|
} `json:"logistics_score"` |
|
|
|
ProductScore struct { |
|
|
|
Level int `json:"level"` |
|
|
|
Score string `json:"score"` |
|
|
|
Text string `json:"text"` |
|
|
|
} `json:"product_score"` |
|
|
|
ServiceScore struct { |
|
|
|
Level int `json:"level"` |
|
|
|
Score string `json:"score"` |
|
|
|
Text string `json:"text"` |
|
|
|
} `json:"service_score"` |
|
|
|
ShopScore struct { |
|
|
|
Level int `json:"level"` |
|
|
|
Score string `json:"score"` |
|
|
|
Text string `json:"text"` |
|
|
|
} `json:"shop_score"` |
|
|
|
} `json:"shop_total_score"` |
|
|
|
Success bool `json:"success"` |
|
|
|
} `json:"shop_info"` |
|
|
|
Tags struct { |
|
|
|
HasDouinGoodsTag interface{} `json:"has_douin_goods_tag"` |
|
|
|
} `json:"tags"` |
|
|
|
} |
|
|
|
type TikTokGoodsLm struct { |
|
|
|
CosFee int64 `json:"cos_fee"` |
|
|
|
CosRatio float64 `json:"cos_ratio"` |
|
|
|