From 897dbccd786bb87a70b8ca4013cd7c5ef40078b7 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 10 Nov 2022 17:07:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/order.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/supply/order.go b/supply/order.go index 03514d9..8afffba 100644 --- a/supply/order.go +++ b/supply/order.go @@ -144,6 +144,17 @@ func (o *order) Lists(ctx context.Context, args ArgsRetailOrderLists) (reply Rep return } +// Delivered @Title 订单签收 +func (o *order) Delivered(ctx context.Context, orderSn string) (err error) { + xClient, err := client.GetClient(o) + if err != nil { + return + } + reply := 0 + err = xClient.Call(ctx, "Delivered", orderSn, &reply) + return +} + type OrderInfo struct { OrderId uint `json:"orderId"` CustomerId uint `json:"customerId"`