123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- package request
- import "encoding/json"
- type ReceivePickUpOrder struct {
- BackAddress string `json:"backAddress"`
- CustomerCode string `json:"customerCode"`
- CustomerContract string `json:"customerContract"`
- CustomerTel string `json:"customerTel"`
- Desp string `json:"desp"`
- GoodsDtoList []GoodsDtoList `json:"goodsDtoList"`
-
- IsGuaranteeValue bool `json:"isGuaranteeValue"`
- OrderID string `json:"orderId"`
- PickupAddress string `json:"pickupAddress"`
- PickupEndTime string `json:"pickupEndTime"`
- PickupName string `json:"pickupName"`
- PickupStartTime string `json:"pickupStartTime"`
- PickupTel string `json:"pickupTel"`
- PromiseTimeType int `json:"promiseTimeType"`
- Remark string `json:"remark"`
- Volume float64 `json:"volume"`
- Weight float64 `json:"weight"`
- FreightSettleType int `json:"freightSettleType"`
- }
- type GoodsDtoList struct {
- ProductCount int `json:"productCount"`
- ProductName string `json:"productName"`
- }
- func (s *ReceivePickUpOrder) GetPath() string {
- return "/PickupReceiveApi/receivePickUpOrder"
- }
- func (s *ReceivePickUpOrder) GetBody() string {
- b, _ := json.Marshal(s)
- return "[" + string(b) + "]"
- }
|