From d841f5ab5c6307f65c941f7192852919ff68dd93 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 3 Mar 2023 17:23:53 +0800 Subject: [PATCH] bug fix --- supplier/afs.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/supplier/afs.go b/supplier/afs.go index dcdd52c..10f5e4c 100644 --- a/supplier/afs.go +++ b/supplier/afs.go @@ -144,6 +144,17 @@ func (a *afs) Reject(ctx context.Context, args ArgsAfsReject) (err error) { 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 { AfsSn string `json:"afsSn"` ReturnAddressId uint `json:"returnAddressId"`