1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package request
- import "encoding/json"
- 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)
- }
|