12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- package request
- import "encoding/json"
- type WayBillDto struct {
- CustomerCode string `json:"customerCode"`
- GoodsDtoList []GoodsDtoList `json:"goodsDtoList"`
- GoodsType int `json:"goodsType"`
- OrderID string `json:"orderId"`
- PackageCount int `json:"packageCount"`
- PromiseTimeType int `json:"promiseTimeType"`
- ReceiveAddress string `json:"receiveAddress"`
- ReceiveMobile string `json:"receiveMobile"`
- ReceiveName string `json:"receiveName"`
- SalePlat string `json:"salePlat"`
- SenderAddress string `json:"senderAddress"`
- SenderMobile string `json:"senderMobile"`
- SenderName string `json:"senderName"`
- PickupEndTime string `json:"pickupEndTime"`
- PickupStartTime string `json:"pickupStartTime"`
-
- AddedService string `json:"addedService"`
- Vloumn float64 `json:"vloumn"`
- Weight float64 `json:"weight"`
- Remark string `json:"remark"`
- }
- func (s *WayBillDto) GetPath() string {
- return "/WaybillJosService/receiveOrderInfo"
- }
- func (s *WayBillDto) GetBody() string {
- b, _ := json.Marshal(s)
- return "[" + string(b) + "]"
- }
|