package request import "encoding/json" /** * @Author: qz * @Date: 2022/6/23 14:57 * @Description: 检查区域 https://cloud.jdl.com/#/open-business-document/api-doc/158/1043 */ type CheckBlindAreaRequest struct { SenderProvince string `json:"senderProvince"` SenderCity string `json:"senderCity"` SenderDistrict string `json:"senderDistrict"` SenderDetailAddress string `json:"senderDetailAddress"` ReceiverProvince string `json:"receiverProvince"` ReceiverCity string `json:"receiverCity"` ReceiverDistrict string `json:"receiverDistrict"` ReceiverDetailAddress string `json:"receiverDetailAddress"` ProductCode string `json:"productCode"` } func (s *CheckBlindAreaRequest) GetPath() string { return "/api/MOGU/checkBlindArea" } func (s *CheckBlindAreaRequest) GetBody() string { b, _ := json.Marshal(s) return string(b) } /* senderProvince String 是 寄件人所属省 senderCity String 是 寄件人所属市 senderDistrict String 是 寄件人所属区 senderDetailAddress String 是 寄件人详细地址 receiverProvince String 是 收件人所属省 receiverCity String 是 收件人所属市 receiverDistrict String 是 收件人所属区 receiverDetailAddress String 是 收件人详细地址 productCode String 是 产品类型。特惠送:ed-m-0001;特快送:ed-m-0002 */