|
@@ -652,7 +652,10 @@ public class RoomServiceImpl implements RoomService {
|
|
|
|
|
|
@Override
|
|
|
public void joinGroup(String userIds, String groupId, String groupName) throws Exception {
|
|
|
- imHelper.joinGroup(userIds.split(","),groupId,groupName);
|
|
|
+ IMApiResultInfo imApiResultInfo = imHelper.joinGroup(userIds.split(","), groupId, groupName);
|
|
|
+ if(imApiResultInfo.getCode() != 200){
|
|
|
+ throw new BizException("加入群组失败");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@Override
|