From bd4be109f1852f2fc66890564f46020202087328 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Wed, 18 Dec 2024 14:49:11 +0800 Subject: [PATCH] update group list resp --- app/svc/im/svc_group.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/svc/im/svc_group.go b/app/svc/im/svc_group.go index f4b75e3..454e641 100644 --- a/app/svc/im/svc_group.go +++ b/app/svc/im/svc_group.go @@ -4,7 +4,6 @@ import ( "applet/app/db" "applet/app/db/im/model" md "applet/app/md/im" - "errors" "fmt" ) @@ -18,7 +17,8 @@ func GroupList(req md.GroupListReq) (err error, resp md.GroupListResp) { return } if !has { - return errors.New("群主账号不存在"), resp + //return errors.New("群主账号不存在"), resp + return nil, resp } var groupUserList []*model.GroupUser err = db.DbIm.Where("`user_id`=? and member_type= 1", user.Id).Find(&groupUserList)