修改运单id
This commit is contained in:
@@ -275,7 +275,7 @@ type CreateOrderReqParam struct {
|
||||
// 必传参数
|
||||
PartnerOrderCode string `json:"partner_order_code,omitempty"` // 外部订单号
|
||||
OrderType int `json:"order_type,omitempty"` // 订单类型(1:即时单,3:预约单)
|
||||
PositionSource int `json:"position_source,omitempty"` // 坐标经纬度来源(1:腾讯地 图, 2:百度地图, 3:高德地图)蜂鸟建议使用高德地图
|
||||
PositionSource int `json:"position_source,omitempty"` // 坐标经纬度来源(1:腾讯地 图, 2:百度地图, 3:高德地图)蜂鸟建议使用高德地图
|
||||
ReceiverAddress string `json:"receiver_address,omitempty"` // 收货人地址 文字描述
|
||||
ReceiverLongitude float64 `json:"receiver_longitude,omitempty"` // 收货人经度
|
||||
ReceiverLatitude float64 `json:"receiver_latitude,omitempty"` // 收货人纬度
|
||||
@@ -315,6 +315,11 @@ type CreateOrderReqParam struct {
|
||||
FetchCode string `json:"fetch_code,omitempty"` // 取餐码 骑手和用户交互
|
||||
}
|
||||
|
||||
// 创建订单返回值
|
||||
type CreateOrderRes struct {
|
||||
OrderId string `json:"order_id"` // 运单id
|
||||
}
|
||||
|
||||
// 查询余额getAmount
|
||||
type GetBalanceAmountRes struct {
|
||||
BalanceAmountCent int64 `json:"balance_amount_cent"` // 账户余额 分
|
||||
@@ -416,9 +421,9 @@ type PreCancelOrderReq struct {
|
||||
type CancelOrderReq struct {
|
||||
GetOrderDetailReq
|
||||
OrderCancelCode int64 `json:"order_cancel_code"` // 从可用取消原因列表接口返回结果选择(必填)
|
||||
OrderCancelRole int `json:"order_cancel_role"` // 1商户取消, 2 用户取消(必填)
|
||||
ActualCancelCostCent int64 `json:"actual_cancel_cost_cent"` // 单位分 取消实际需扣金额,从预取消接口拿(非必填)
|
||||
OrderCancelOtherReason string `json:"order_cancel_other_reason"` // 取消原因补充 20字以内(非必填)
|
||||
OrderCancelRole int `json:"order_cancel_role"` // 1商户取消, 2 用户取消(必填)
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
Reference in New Issue
Block a user