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"`