mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-05 09:36:00 +08:00
Refactor code
This commit is contained in:
@@ -105,12 +105,12 @@ func GetGroupApplicationList(userID string) ([]GroupRequest, error) {
|
||||
if v.RoleLevel > constant.GroupOrdinaryUsers {
|
||||
list, err := GetGroupRequestByGroupID(v.GroupID)
|
||||
if err != nil {
|
||||
fmt.Println("111 GetGroupRequestByGroupID failed ", err.Error())
|
||||
// fmt.Println("111 GetGroupRequestByGroupID failed ", err.Error())
|
||||
continue
|
||||
}
|
||||
fmt.Println("222 GetGroupRequestByGroupID ok ", list)
|
||||
// fmt.Println("222 GetGroupRequestByGroupID ok ", list)
|
||||
groupRequestList = append(groupRequestList, list...)
|
||||
fmt.Println("333 GetGroupRequestByGroupID ok ", groupRequestList)
|
||||
// fmt.Println("333 GetGroupRequestByGroupID ok ", groupRequestList)
|
||||
}
|
||||
}
|
||||
return groupRequestList, nil
|
||||
|
||||
Reference in New Issue
Block a user