CreateSpecialLogisticsRequest.go 1.4 KB

1234567891011121314151617181920212223242526272829
  1. package http_model
  2. type CreateSpecialLogisticsRequest struct {
  3. LogisticsID int64 `json:"logistics_id"` // 货物-id
  4. CompanyName string `json:"company_name"` // 实物商品-物流公司名称
  5. LogisticsNumber string `json:"logistics_number"` // 实物商品-物流单号
  6. ExplorestoreStarttime string `json:"explorestore_starttime"` // 线下探店-探店开始时间
  7. ExplorestoreEndtime string `json:"explorestore_endtime"` // 线下探店-探店结束时间
  8. ExplorestorePeriod string `json:"explorestore_period"` // 线下探店-探店持续时间
  9. CouponCodeInformation string `json:"coupon_code_information"` // 虚拟产品-券码信息
  10. TaskID string `json:"task_id"` // 任务id
  11. DeliveryTime string `json:"delivery_time"` // 发货时间
  12. ThingsType int `json:"things_type"` // 产品类型 1:实物, 2:虚拟产品,3:线下探店
  13. IsUpdate int `json:"is_update"` // 更新标志位 0:不更新 1:更新
  14. }
  15. type SpecialLogisticsData struct {
  16. LogisticsID int64 `json:"logistics_id"` // 货物-id
  17. }
  18. func NewCreateSpecialLogisticsRequest() *CreateSpecialLogisticsRequest {
  19. return new(CreateSpecialLogisticsRequest)
  20. }
  21. func NewCreateSpecialLogisticsResponse() *CommonResponse {
  22. resp := new(CommonResponse)
  23. resp.Data = new(SpecialLogisticsData)
  24. return resp
  25. }