From 290a36263ea6c4ab58c75a3bee1aff0cfdb9f86d Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 6 Sep 2022 18:14:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/order.go | 7 +++++++ 1 file changed, 7 insertions(+) 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 订单取消