fix 创建群
This commit is contained in:
@@ -204,6 +204,9 @@ public class GroupServiceImpl implements IGroupService {
|
||||
member.setUpdateTime(LocalDateTime.now());
|
||||
groupMemberMapper.insert(member);
|
||||
|
||||
// OpenIM 侧邀请用户入群
|
||||
openIMApiClient.inviteUserToGroup(String.valueOf(groupId), List.of(String.valueOf(userId)));
|
||||
|
||||
// 审计日志
|
||||
auditService.log(groupId, null, operatorId, "PULL_USER",
|
||||
String.format("{\"userId\":%d}", userId));
|
||||
|
||||
Reference in New Issue
Block a user