第三方api接口
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

kuaishou.go 4.8 KiB

11ヶ月前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package md
  2. type KuaishouOrder struct {
  3. Pcursor string `json:"pcursor"`
  4. OrderView []OrderView `json:"orderView"`
  5. }
  6. type OrderView struct {
  7. Oid int `json:"oid"`
  8. ActivityUserId int `json:"activityUserId"`
  9. ActivityId int `json:"activityId"`
  10. CpsOrderStatus int `json:"cpsOrderStatus"`
  11. OrderCreateTime int64 `json:"orderCreateTime"`
  12. OrderTradeAmount int64 `json:"orderTradeAmount"`
  13. PayAmount int `json:"payAmount"`
  14. RegimentalPromotionRate int `json:"regimentalPromotionRate"`
  15. RegimentalPromotionAmount int `json:"regimentalPromotionAmount"`
  16. CpsOrderProductView []struct {
  17. Oid int64 `json:"oid"`
  18. ItemId int64 `json:"itemId"`
  19. ItemTitle string `json:"itemTitle"`
  20. ItemPrice int64 `json:"itemPrice"`
  21. SellerId int64 `json:"sellerId"`
  22. SellerNickName string `json:"sellerNickName"`
  23. SkuId int `json:"skuId"`
  24. } `json:"cpsOrderProductView"`
  25. CreateTime int64 `json:"createTime"`
  26. UpdateTime int64 `json:"updateTime"`
  27. SendTime int64 `json:"sendTime"`
  28. SendStatus int `json:"sendStatus"`
  29. RecvTime int64 `json:"recvTime"`
  30. PromotionId int `json:"promotionId"`
  31. PromotionNickName string `json:"promotionNickName"`
  32. PromotionType int `json:"promotionType"`
  33. SettlementAmount int `json:"settlementAmount"`
  34. SettlementTime int64 `json:"settlementTime"`
  35. SettlementSuccessTime int64 `json:"settlementSuccessTime"`
  36. BuyerOpenId string `json:"buyerOpenId"`
  37. PromotionKwaiId string `json:"promotionKwaiId"`
  38. ExpendRegimentalSettleAmount int `json:"expendRegimentalSettleAmount"`
  39. ExpendEstimateSettleAmount int `json:"expendEstimateSettleAmount"`
  40. ExpendRegimentalPromotionRate int `json:"expendRegimentalPromotionRate"`
  41. BaseAmount int `json:"baseAmount"`
  42. ShareRateStr string `json:"shareRateStr"`
  43. ExcitationInCome int `json:"excitationInCome"`
  44. ServiceIncome int `json:"serviceIncome"`
  45. SettlementBizType int `json:"settlementBizType"`
  46. FundType int `json:"fundType"`
  47. KwaimoneyUserId int `json:"kwaimoneyUserId"`
  48. KwaimoneyUserNickName string `json:"kwaimoneyUserNickName"`
  49. }
  50. type KuaishouGoods struct {
  51. GoodsId int `json:"goodsId"`
  52. GoodsPrice int `json:"goodsPrice"`
  53. GoodsTitle string `json:"goodsTitle"`
  54. GoodsDesc string `json:"goodsDesc"`
  55. MallId int `json:"mallId"`
  56. MallName string `json:"mallName"`
  57. MallType int `json:"mallType"`
  58. GoodsImageUrl string `json:"goodsImageUrl"`
  59. CategoryId int `json:"categoryId"`
  60. PromotionRate int `json:"promotionRate"`
  61. SalesTip int `json:"salesTip"`
  62. GoodsGalleryUrls interface{} `json:"goodsGalleryUrls"`
  63. PromotionAmount int `json:"promotionAmount"`
  64. ItemDescUrls interface{} `json:"itemDescUrls"`
  65. ExpressId int `json:"expressId"`
  66. ZkGoodsPrice int `json:"zkGoodsPrice"`
  67. }
  68. type KuaishouCpsOrder struct {
  69. Oid int `json:"oid"`
  70. CpsOrderStatus int `json:"cpsOrderStatus"`
  71. OrderCreateTime int `json:"orderCreateTime"`
  72. PayTime int `json:"payTime"`
  73. OrderTradeAmount int `json:"orderTradeAmount"`
  74. CreateTime int64 `json:"createTime"`
  75. UpdateTime int64 `json:"updateTime"`
  76. SettlementSuccessTime int64 `json:"settlementSuccessTime"`
  77. SettlementAmount int `json:"settlementAmount"`
  78. CpsKwaimoneyOrderProductView []struct {
  79. Oid int `json:"oid"`
  80. ItemId int `json:"itemId"`
  81. ItemTitle string `json:"itemTitle"`
  82. ItemPicUrl string `json:"itemPicUrl"`
  83. ItemPrice int `json:"itemPrice"`
  84. SkuDesc string `json:"skuDesc"`
  85. EstimatedIncome int `json:"estimatedIncome"`
  86. CommissionRate int `json:"commissionRate"`
  87. PaymentFee int `json:"paymentFee"`
  88. CpsPid string `json:"cpsPid"`
  89. SellerId int `json:"sellerId"`
  90. SellerNickname string `json:"sellerNickname"`
  91. Num int `json:"num"`
  92. CpsType int `json:"cpsType"`
  93. DistributorId int `json:"distributorId"`
  94. DistributorNickname string `json:"distributorNickname"`
  95. Comments string `json:"comments"`
  96. } `json:"cpsKwaimoneyOrderProductView"`
  97. BaseAmount int `json:"baseAmount"`
  98. ShareRateStr string `json:"shareRateStr"`
  99. }