|
|
@ -159,6 +159,24 @@ func (a *afs) Deliver(ctx context.Context, args ArgsAfsDeliver) (err error) {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsAfterDeliverRefund struct {
|
|
|
|
|
|
|
|
AfsSn string
|
|
|
|
|
|
|
|
Notes string
|
|
|
|
|
|
|
|
RefundFee decimal.Decimal
|
|
|
|
|
|
|
|
ApplyUserId uint
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// AfterDeliverRefund @Title 待客户发货后的赔偿
|
|
|
|
|
|
|
|
func (a *afs) AfterDeliverRefund(ctx context.Context, args ArgsAfterDeliverRefund) (err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
reply := 0
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "AfterDeliverRefund", args, &reply)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsAfsRefund struct {
|
|
|
|
type ArgsAfsRefund struct {
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
Notes string `json:"notes"`
|
|
|
|
Notes string `json:"notes"`
|
|
|
|