checkBlindArea.go 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package request
  2. import "encoding/json"
  3. /**
  4. * @Author: qz
  5. * @Date: 2022/6/23 14:57
  6. * @Description: 检查区域 https://cloud.jdl.com/#/open-business-document/api-doc/158/1043
  7. */
  8. type CheckBlindAreaRequest struct {
  9. SenderProvince string `json:"senderProvince"`
  10. SenderCity string `json:"senderCity"`
  11. SenderDistrict string `json:"senderDistrict"`
  12. SenderDetailAddress string `json:"senderDetailAddress"`
  13. ReceiverProvince string `json:"receiverProvince"`
  14. ReceiverCity string `json:"receiverCity"`
  15. ReceiverDistrict string `json:"receiverDistrict"`
  16. ReceiverDetailAddress string `json:"receiverDetailAddress"`
  17. ProductCode string `json:"productCode"`
  18. }
  19. func (s *CheckBlindAreaRequest) GetPath() string {
  20. return "/api/MOGU/checkBlindArea"
  21. }
  22. func (s *CheckBlindAreaRequest) GetBody() string {
  23. b, _ := json.Marshal(s)
  24. return string(b)
  25. }
  26. /*
  27. senderProvince String 是 寄件人所属省
  28. senderCity String 是 寄件人所属市
  29. senderDistrict String 是 寄件人所属区
  30. senderDetailAddress String 是 寄件人详细地址
  31. receiverProvince String 是 收件人所属省
  32. receiverCity String 是 收件人所属市
  33. receiverDistrict String 是 收件人所属区
  34. receiverDetailAddress String 是 收件人详细地址
  35. productCode String 是 产品类型。特惠送:ed-m-0001;特快送:ed-m-0002
  36. */