finance
黄伟 2 years ago
parent 70c4574d86
commit f540087cfd

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

Loading…
Cancel
Save