From 525a7dea81f2ec5f569ff27c7f26307a7b757f47 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 3 Mar 2023 13:37:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BB=B6=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/skuAudit.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/supply/skuAudit.go b/supply/skuAudit.go index 6ab7a1b..ec62cbf 100644 --- a/supply/skuAudit.go +++ b/supply/skuAudit.go @@ -108,6 +108,16 @@ func (s *skuAudit) Adopt(ctx context.Context, args ArgsSkuAuditAdopt) error { return xClient.Call(ctx, "Adopt", args, &reply) } +// AdoptAll @Title 全部审核通过 +func (s *skuAudit) AdoptAll(ctx context.Context, auditUserId uint) error { + reply := 0 + xClient, err := client.GetClient(s) + if err != nil { + return err + } + return xClient.Call(ctx, "AdoptAll", auditUserId, &reply) +} + type ArgsSkuAuditReject struct { AuditUserId uint // 审核人 AuditIds []uint // 审核单id