|
|
@ -29,3 +29,14 @@ func (o *order) FreightFee(ctx context.Context, args ArgsOrderFreightFee) (err e
|
|
|
|
err = xClient.Call(ctx, "FreightFee", args, &reply)
|
|
|
|
err = xClient.Call(ctx, "FreightFee", args, &reply)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Close @Title 订单关闭
|
|
|
|
|
|
|
|
func (o *order) Close(ctx context.Context, orderSn string) (err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(o)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
reply := 0
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "Close", orderSn, &reply)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|