From a511f376e29125b13c699b3af4e25685350249e7 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 10 Feb 2023 09:33:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=94=AE=E5=90=8E=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supplier/afsAudit.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/supplier/afsAudit.go b/supplier/afsAudit.go index 300e201..24dcaa5 100644 --- a/supplier/afsAudit.go +++ b/supplier/afsAudit.go @@ -82,3 +82,18 @@ func (a *afsAudit) Reject(ctx context.Context, args ArgsAfsAuditReject) error { reply := 0 return xClient.Call(ctx, "Reject", args, &reply) } + +type ArgsSetAfsAuditPrice struct { + Price decimal.Decimal + Switch uint +} + +// SetAfsAuditPrice @Title 设置需要审核金额 +func (a *afsAudit) SetAfsAuditPrice(ctx context.Context, args ArgsSetAfsAuditPrice) error { + xClient, err := client.GetClient(a) + if err != nil { + return err + } + reply := 0 + return xClient.Call(ctx, "SetAfsAuditPrice", args, &reply) +}