Commit 61bc7c7d by Future

成员1000限制

parent a9d0d8dd
......@@ -357,7 +357,7 @@ public class ImConversationServiceImpl extends BaseServiceImpl<ImConversationMap
// 将群成员数量减
imConversationMapper.addMemberCount(imApplication.getId(), imClientToConversation.getConversationId(), needAddCount);
ImConversationQueryVo conversation = imConversationMapper.getImConversationById(imClientToConversation.getConversationId());
if (conversation.getMemberCount() > 2000) {
if (conversation.getMemberCount() > 1000) {
// 小虎豆不接万人群
throw new BusinessException("群成员超过最大数量,请确认");
// 升级为万人群
......
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