浏览代码

Merge branch 'feature/1020-tencent-im' of http://git.dayaedu.com/yonge/mec into feature/1020-tencent-im

liujc 1 年之前
父节点
当前提交
6b61a537ef
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      mec-biz/src/main/java/com/ym/mec/biz/service/im/impl/ImGroupCoreServiceImpl.java

+ 2 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/im/impl/ImGroupCoreServiceImpl.java

@@ -260,7 +260,8 @@ public class ImGroupCoreServiceImpl implements ImGroupCoreService {
         // 判定登录用户是否为群主
         ImGroupPlus imGroup = imGroupService.lambdaQuery().eq(ImGroupPlus::getId, groupId).last("LIMIT 1").one();
         if (Objects.isNull(imGroup)) {
-            throw new BizException("群组不存在");
+            //throw new BizException("群组不存在");
+            return;
         }