|
|
@ -63,11 +63,12 @@ type ArgsAfterServiceDeliver struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deliver @Title 需要发货
|
|
|
|
// Deliver @Title 需要发货
|
|
|
|
func (a *afterService) Deliver(ctx context.Context, args ArgsAfterServiceDeliver, reply *int) (err error) {
|
|
|
|
func (a *afterService) Deliver(ctx context.Context, args ArgsAfterServiceDeliver) (err error) {
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
reply := 0
|
|
|
|
err = xClient.Call(ctx, "Deliver", args, &reply)
|
|
|
|
err = xClient.Call(ctx, "Deliver", args, &reply)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|