提交 5b478b96 authored 作者: 屈传平's avatar 屈传平

yonghui

上级 c0c58b2c
...@@ -293,12 +293,14 @@ func (s *order) Logistics(ctx context.Context, req *OrderLogisticsReq) (res *Ord ...@@ -293,12 +293,14 @@ func (s *order) Logistics(ctx context.Context, req *OrderLogisticsReq) (res *Ord
return return
} }
type OrderFreightGoodsInfos struct {
GoodsCode string `json:"goodsCode"`
GoodsQty int `json:"goodsQty"`
}
type OrderFreightReq struct { type OrderFreightReq struct {
DeliveryType int `json:"deliveryType"` DeliveryType int `json:"deliveryType"`
GoodsInfos []struct { GoodsInfos []*OrderFreightGoodsInfos `json:"goodsInfos"`
GoodsCode string `json:"goodsCode"`
GoodsQty int `json:"goodsQty"`
} `json:"goodsInfos"`
ReceiverAddress struct { ReceiverAddress struct {
Prov string `json:"prov"` Prov string `json:"prov"`
City string `json:"city"` City string `json:"city"`
...@@ -312,8 +314,8 @@ type OrderFreightRes struct { ...@@ -312,8 +314,8 @@ type OrderFreightRes struct {
Code string `json:"code"` Code string `json:"code"`
Message string `json:"message"` Message string `json:"message"`
Data struct { Data struct {
Freight string `json:"freight"` Freight string `json:"freight"`
Weight int `json:"weight"` Weight float64 `json:"weight"`
FreightInfoDetail struct { FreightInfoDetail struct {
Field1 []struct { Field1 []struct {
GoodsFreightType string `json:"goodsFreightType"` GoodsFreightType string `json:"goodsFreightType"`
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论