From 582f255b6de239ad20b6e261219b0c2e06e8816e Mon Sep 17 00:00:00 2001 From: code huan Date: Mon, 29 Aug 2022 11:02:03 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=EF=BC=9A=E7=99=BB=E5=BD=95=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E5=BC=82=E5=B8=B8=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/workweixin/workweixin.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/workweixin/workweixin.go b/utils/workweixin/workweixin.go index 5b0259ba..9041430c 100644 --- a/utils/workweixin/workweixin.go +++ b/utils/workweixin/workweixin.go @@ -279,9 +279,8 @@ func GetUserListId(contact_access_token string, userid string) (user_info WorkWe info = WorkWeixinDeptUserInfo{ UserId: uir.DeptUser[i].UserId, } - } else { - return info, uir.ErrMsg, false + return info, "", true } } - return info, "", true + return info, uir.ErrMsg, false }