From 72707069f701e88ff8f92c4b4f0ae3fb8bd9d779 Mon Sep 17 00:00:00 2001 From: kanade Date: Fri, 2 Dec 2022 14:22:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=94=AE=E5=90=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/afterService.go | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/supply/afterService.go b/supply/afterService.go index 1a52350..329aafe 100644 --- a/supply/afterService.go +++ b/supply/afterService.go @@ -132,12 +132,18 @@ func (a *afterService) Refund(ctx context.Context, args ArgsAfterServiceRefund) } type ArgsAfterServiceNewOrder struct { - Source source `json:"source"` - SourceAfsSn string `json:"sourceAfsSn"` - SourceSkuId string `json:"sourceSkuId"` - SourceOrderSn string `json:"sourceOrderSn"` - Result string `json:"result"` - NewSourceOrderSn string `json:"newSourceOrderSn"` + Source source `json:"source"` + SourceAfsSn string `json:"sourceAfsSn"` + SourceSkuId string `json:"sourceSkuId"` + SourceOrderSn string `json:"sourceOrderSn"` + Result string `json:"result"` + NewSourceOrderSn string `json:"newSourceOrderSn"` + Skus []NewOrderSku `json:"skus"` +} +type NewOrderSku struct { + SourceSkuId string `json:"sourceSkuId"` + Quantity uint `json:"quantity"` + Name string `json:"name"` } // NewOrder @Title 新订单