diff --git a/supply/order.go b/supply/order.go index 3684ff0..aeed211 100644 --- a/supply/order.go +++ b/supply/order.go @@ -6,6 +6,12 @@ import ( "github.com/shopspring/decimal" ) +const ( + OrderCancelStatusSuccess = 1 // 取消成功 + OrderCancelStatusFail = 2 // 取消失败 + OrderCancelStatusReject = 3 // 申请拒收 +) + type order struct { } type ArgsOrderSplit struct { @@ -39,6 +45,7 @@ func (o *order) Split(ctx context.Context, args ArgsOrderSplit) (err error) { type ArgsOrderCancel struct { Source source // 商品来源 SourceOrderSn string // 供应商订单号 + Status uint // 订单取消 } // Cancel @Title 订单取消