|
|
|
@ -72,3 +72,37 @@ func (a *afterService) Deliver(ctx context.Context, args ArgsAfterServiceDeliver
|
|
|
|
|
err = xClient.Call(ctx, "Deliver", args, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsAfterServiceReceipt struct {
|
|
|
|
|
SourceAfsSn string `json:"sourceAfsSn"`
|
|
|
|
|
SourceSkuId string `json:"sourceSkuId"`
|
|
|
|
|
SourceOrderSN string `json:"sourceOrderSN"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Receipt @Title 收货处理
|
|
|
|
|
func (a *afterService) Receipt(ctx context.Context, args ArgsAfterServiceReceipt) (err error) {
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
reply := 0
|
|
|
|
|
err = xClient.Call(ctx, "Receipt", args, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsAfterService struct {
|
|
|
|
|
SourceAfsSn string `json:"sourceAfsSn"`
|
|
|
|
|
SourceSkuId string `json:"sourceSkuId"`
|
|
|
|
|
SourceOrderSN string `json:"sourceOrderSN"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reject @Title 驳回
|
|
|
|
|
func (a *afterService) Reject(ctx context.Context, args ArgsAfterService) (err error) {
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
reply := 0
|
|
|
|
|
err = xClient.Call(ctx, "Reject", args, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|