From 4aac80a796468b74346da64bac722d3d4f06e6aa Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 2 Sep 2022 10:38:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supplier/warnLiaison.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/supplier/warnLiaison.go b/supplier/warnLiaison.go index 0dbe275..8c06567 100644 --- a/supplier/warnLiaison.go +++ b/supplier/warnLiaison.go @@ -9,11 +9,12 @@ type warnLiaison struct { } // Lists @Title 预警联系人列表 -func (s *warnLiaison) Lists(ctx context.Context, args int) (reply []string, err error) { +func (s *warnLiaison) Lists(ctx context.Context) (reply []string, err error) { xClient, err := client.GetClient(s) if err != nil { return nil, err } + args := 0 err = xClient.Call(ctx, "Lists", args, &reply) return }