diff --git a/supply/channel/order.go b/supply/channel/order.go index 87f073f..9fb432f 100644 --- a/supply/channel/order.go +++ b/supply/channel/order.go @@ -214,3 +214,13 @@ func (o *order) Trajectory(ctx context.Context, channelId string, orderSn string err = xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "Trajectory", orderSn, &reply) return } + +// Finish @Title 确认收货 +func (o *order) Finish(ctx context.Context, channelId string, orderSn string) (err error) { + reply := 0 + xClient, err := client.GetClient(o) + if err != nil { + return + } + return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "Finish", orderSn, &reply) +}