Commit 2ab23094 authored by hujiebin's avatar hujiebin

Update group.go

parent 7c650262
......@@ -266,6 +266,9 @@ func BuildJoinedGroupInfo(myService *domain.Service, myUserId uint64, originGrou
}
}
}
if len(groupIds) <= 0 {
return nil, 0, nil
}
// todo: 可以移到后面,减小查询范围,因为roomMicUserMap不影响排序
roomMicUserMap, err := group_m.BatchGetAllMicUser(model, groupIds)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment