|
|
@ -144,6 +144,17 @@ func (a *afs) Reject(ctx context.Context, args ArgsAfsReject) (err error) {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ForcedClose @Title 强制关单
|
|
|
|
|
|
|
|
func (a *afs) ForcedClose(ctx context.Context, args ArgsAfsReject) (err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
reply := 0
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "ForcedClose", args, &reply)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsAfsDeliver struct {
|
|
|
|
type ArgsAfsDeliver struct {
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
ReturnAddressId uint `json:"returnAddressId"`
|
|
|
|
ReturnAddressId uint `json:"returnAddressId"`
|
|
|
|