pdd.ddk.goods.detail.go 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package pdd
  2. type PddDdkGoodsDetailRequest struct {
  3. PddDdkBase
  4. GoodsSign string `json:"goods_sign"`
  5. SearchId string `json:"search_id"`
  6. }
  7. type PddDdkGoodsDetailResponse struct {
  8. GoodsDetailResponse GoodsDetailResponse `json:"goods_detail_response"`
  9. }
  10. type GoodsDetails struct {
  11. CategoryName string `json:"category_name"`
  12. CouponRemainQuantity int `json:"coupon_remain_quantity"`
  13. PromotionRate int `json:"promotion_rate"`
  14. ServiceTags []int `json:"service_tags"`
  15. MallID int `json:"mall_id"`
  16. MallName string `json:"mall_name"`
  17. MallCouponEndTime int `json:"mall_coupon_end_time"`
  18. LgstTxt string `json:"lgst_txt"`
  19. GoodsName string `json:"goods_name"`
  20. GoodsGalleryUrls []string `json:"goods_gallery_urls"`
  21. GoodsID int64 `json:"goods_id"`
  22. BrandName string `json:"brand_name"`
  23. PredictPromotionRate int `json:"predict_promotion_rate"`
  24. GoodsDesc string `json:"goods_desc"`
  25. OptName string `json:"opt_name"`
  26. ShareRate int `json:"share_rate"`
  27. OptIds []int `json:"opt_ids"`
  28. GoodsImageURL string `json:"goods_image_url"`
  29. MallImgURL string `json:"mall_img_url"`
  30. HasMallCoupon bool `json:"has_mall_coupon"`
  31. UnifiedTags []string `json:"unified_tags"`
  32. VideoUrls []interface{} `json:"video_urls"`
  33. CouponStartTime int `json:"coupon_start_time"`
  34. MinGroupPrice int `json:"min_group_price"`
  35. CouponDiscount int `json:"coupon_discount"`
  36. CouponEndTime int `json:"coupon_end_time"`
  37. ZsDuoID int `json:"zs_duo_id"`
  38. MallCouponRemainQuantity int `json:"mall_coupon_remain_quantity"`
  39. PlanType int `json:"plan_type"`
  40. CatIds []int `json:"cat_ids"`
  41. CouponMinOrderAmount int `json:"coupon_min_order_amount"`
  42. CategoryID int `json:"category_id"`
  43. MallCouponDiscountPct int `json:"mall_coupon_discount_pct"`
  44. CouponTotalQuantity int `json:"coupon_total_quantity"`
  45. MallCouponMinOrderAmount int `json:"mall_coupon_min_order_amount"`
  46. MerchantType int `json:"merchant_type"`
  47. SalesTip string `json:"sales_tip"`
  48. OnlySceneAuth bool `json:"only_scene_auth"`
  49. DescTxt string `json:"desc_txt"`
  50. GoodsThumbnailURL string `json:"goods_thumbnail_url"`
  51. OptID int `json:"opt_id"`
  52. HasCoupon bool `json:"has_coupon"`
  53. MinNormalPrice int `json:"min_normal_price"`
  54. MallCouponStartTime int `json:"mall_coupon_start_time"`
  55. ServTxt string `json:"serv_txt"`
  56. MallCouponTotalQuantity int `json:"mall_coupon_total_quantity"`
  57. MallCouponMaxDiscountAmount int `json:"mall_coupon_max_discount_amount"`
  58. MallCps int `json:"mall_cps"`
  59. GoodsSign string `json:"goods_sign"`
  60. }
  61. type GoodsDetailResponse struct {
  62. GoodsDetails []GoodsDetails `json:"goods_details"`
  63. RequestID string `json:"request_id"`
  64. }