From cec87b926b4292df9b05eb8befc8732c0da47321 Mon Sep 17 00:00:00 2001 From: kanade Date: Mon, 17 Oct 2022 14:51:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=94=AE=E5=90=8E=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/afterService.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/supply/afterService.go b/supply/afterService.go index 55f2f14..0155006 100644 --- a/supply/afterService.go +++ b/supply/afterService.go @@ -55,3 +55,19 @@ func (a *afterService) RetailAfsHistory(ctx context.Context, args ArgsRetailHist err = xClient.Call(ctx, "RetailAfsHistory", args, &reply) return } + +type ArgsAfterServiceDeliver struct { + SourceAfsSn string `json:"sourceAfsSn"` + SourceSkuId string `json:"sourceSkuId"` + SourceOrderSN string `json:"sourceOrderSN"` +} + +// Deliver @Title ้œ€่ฆๅ‘่ดง +func (a *afterService) Deliver(ctx context.Context, args ArgsAfterServiceDeliver, reply *int) (err error) { + xClient, err := client.GetClient(a) + if err != nil { + return err + } + err = xClient.Call(ctx, "Deliver", args, &reply) + return +}