|
|
|
@ -55,3 +55,19 @@ func (a *afterService) RetailAfsHistory(ctx context.Context, args ArgsRetailHist
|
|
|
|
|
err = xClient.Call(ctx, "RetailAfsHistory", args, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsAfterServiceDeliver struct {
|
|
|
|
|
SourceAfsSn string `json:"sourceAfsSn"`
|
|
|
|
|
SourceSkuId string `json:"sourceSkuId"`
|
|
|
|
|
SourceOrderSN string `json:"sourceOrderSN"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deliver @Title 需要发货
|
|
|
|
|
func (a *afterService) Deliver(ctx context.Context, args ArgsAfterServiceDeliver, reply *int) (err error) {
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
err = xClient.Call(ctx, "Deliver", args, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|