This commit is contained in:
邹宗楠
2023-05-22 09:21:40 +08:00
parent 0c024e20e0
commit 8b6916952d
3 changed files with 25 additions and 7 deletions

View File

@@ -420,10 +420,10 @@ type PreCancelOrderReq struct {
// cancelOrder 正式取消订单接口
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字以内(必填)
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字以内(必填)
}
//#endregion