|
|
|
@ -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)
|
|
|
|
|
}
|
|
|
|
|