This commit is contained in:
richboo111
2023-01-12 18:12:48 +08:00
parent 91919f25c4
commit 5610ddb767
6 changed files with 51 additions and 47 deletions

View File

@@ -45,7 +45,7 @@ func (c *SupermGetShipmentInfoRequest) GetParams() *SupermGetShipmentInfoParam {
}
type SupermGetShipmentInfoParam struct {
ShopOrderID int64 `json:"shopOrderID"` //店铺父订单号
//AfterSaleID int64 `json:"afterSaleID"` //售后单号
ShipmentType int64 `json:"shipmentType"` //履约类型
ShopOrderID int64 `json:"shop_order_id"` //店铺父订单号
//AfterSaleID int64 `json:"aftersale_id"` //售后单号
ShipmentType int64 `json:"shipment_type"` //履约类型
}

View File

@@ -7,18 +7,18 @@ type SupermGetShipmentInfoResponse struct {
Data *SupermGetShipmentInfoData `json:"data"`
}
type ShipmentInfo struct {
ShopOrderID int64 `json:"shopOrderID"` //交易单号
AfterSaleID int64 `json:"afterSaleID"` //售后单号
TrackNo string `json:"trackNo"` //运单号
ShopID int64 `json:"shopID"` //店铺ID
ShipmentStatus int64 `json:"shipmentStatus"` //运单状态
ShipmentError int64 `json:"shipmentError"` //异常状态
RiderName string `json:"riderName"` //骑手名称
RiderPhone string `json:"riderPhone"` //骑手电话
RiderLongitude string `json:"riderLongitude"` //骑手经度
RiderLatitude string `json:"riderLatitude"` //骑手纬度
OccurredTime string `json:"occurredTime"` //当前状态变更时间
ShopOrderID int64 `json:"shop_order_id"` //交易单号
AfterSaleID int64 `json:"aftersale_id"` //售后单号
TrackNo string `json:"track_no"` //运单号
ShopID int64 `json:"shop_id"` //店铺ID
ShipmentStatus int64 `json:"shipment_status"` //运单状态
ShipmentError int64 `json:"shipment_error"` //异常状态
RiderName string `json:"rider_name"` //骑手名称
RiderPhone string `json:"rider_phone"` //骑手电话
RiderLongitude string `json:"rider_longitude"` //骑手经度
RiderLatitude string `json:"rider_latitude"` //骑手纬度
OccurredTime string `json:"occurred_time"` //当前状态变更时间
}
type SupermGetShipmentInfoData struct {
ShipmentInfo *ShipmentInfo `json:"shipmentInfo"`
ShipmentInfo *ShipmentInfo `json:"shipment_info"`
}