订单取消

finance
杨赟 2 years ago
parent 79ffc49a94
commit 290a36263e

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

Loading…
Cancel
Save