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)