第三方api接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
4.4 KiB

  1. package chanxuanTikTok
  2. import "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/md"
  3. type ChanxuanTikTokGoods struct {
  4. Title string `json:"title"`
  5. Cover string `json:"cover"`
  6. Price int `json:"price"`
  7. OriginPrice int `json:"origin_price"`
  8. CosRatio float64 `json:"cos_ratio"`
  9. Sales int `json:"sales"`
  10. DetailUrl string `json:"detail_url"`
  11. ProductId string `json:"product_id"`
  12. KolCosRatio float64 `json:"kol_cos_ratio"`
  13. ActivityCosRatio float64 `json:"activity_cos_ratio"`
  14. ShopName string `json:"shop_name"`
  15. ActivityId int `json:"activity_id"`
  16. CategoryName string `json:"category_name"`
  17. }
  18. type ChanxuanTikTokGoodsUrl struct {
  19. DkPassword string `json:"dk_password"`
  20. DkCodeImg string `json:"dk_code_img"`
  21. DyDeeplink string `json:"dy_deeplink"`
  22. DySharelink string `json:"dy_sharelink"`
  23. }
  24. type ChanxuanTikTokOrder struct {
  25. CommissionRate int `json:"commission_rate"`
  26. CxServiceRate int `json:"cx_service_rate"`
  27. EstimatedCommission int `json:"estimated_commission"`
  28. EstimatedTechServiceFee int `json:"estimated_tech_service_fee"`
  29. FlowPoint string `json:"flow_point"`
  30. ItemNum int `json:"item_num"`
  31. OrderId string `json:"order_id"`
  32. PaySuccessTime string `json:"pay_success_time"`
  33. ProductId string `json:"product_id"`
  34. ProductImg string `json:"product_img"`
  35. ProductName string `json:"product_name"`
  36. RealCommission int `json:"real_commission"`
  37. RefundTime interface{} `json:"refund_time"`
  38. SettleTime interface{} `json:"settle_time"`
  39. SettledTechServiceFee int `json:"settled_tech_service_fee"`
  40. ShopId int `json:"shop_id"`
  41. TotalPayAmount int `json:"total_pay_amount"`
  42. UpdateTime string `json:"update_time"`
  43. VipMsg string `json:"vip_msg"`
  44. ActivistType interface{} `json:"activist_type"`
  45. }
  46. type ChanxuanTikTokGoodsDetail struct {
  47. ActivityCosRatio int `json:"activity_cos_ratio"`
  48. AwemeList []string `json:"aweme_list"`
  49. AwemesInfo []struct {
  50. AwemeId string `json:"aweme_id"`
  51. AwemeCover string `json:"aweme_cover"`
  52. AwemeUrl string `json:"aweme_url"`
  53. } `json:"awemes_info"`
  54. BrandCode string `json:"brand_code"`
  55. Category string `json:"category"`
  56. CosRatio int `json:"cos_ratio"`
  57. Cover string `json:"cover"`
  58. DescLevel int `json:"desc_level"`
  59. DescScore int `json:"desc_score"`
  60. DetailImages []string `json:"detail_images"`
  61. DetailUrl string `json:"detail_url"`
  62. ExprLevel int `json:"expr_level"`
  63. ExprScore int `json:"expr_score"`
  64. Gain string `json:"gain"`
  65. Images []string `json:"images"`
  66. KolCosRatio int `json:"kol_cos_ratio"`
  67. OriginPrice float64 `json:"origin_price"`
  68. PostLevel int `json:"post_level"`
  69. PostScore float64 `json:"post_score"`
  70. Price float64 `json:"price"`
  71. ProductId int64 `json:"product_id"`
  72. PromotionEndTime string `json:"promotion_end_time"`
  73. PromotionStartTime string `json:"promotion_start_time"`
  74. Sales int `json:"sales"`
  75. SellPoint string `json:"sell_point"`
  76. ServLevel int `json:"serv_level"`
  77. ServScore float64 `json:"serv_score"`
  78. ShopIcon string `json:"shop_icon"`
  79. ShopId int `json:"shop_id"`
  80. ShopName string `json:"shop_name"`
  81. Pictures map[string]md.PicturesData `json:"pictures"`
  82. Skus map[string]md.SkusData `json:"skus"`
  83. Spec []md.SpecsData `json:"spec"`
  84. Title string `json:"title"`
  85. }