inRoomId 替换为 userId

This commit is contained in:
tianfeng 2025-11-06 12:08:31 +08:00
parent b7a5d6da71
commit af59e3588e

View File

@ -66,7 +66,7 @@ public class UserProfileUseQryExe {
}
//放入redis key IN_ROOM:userId v 是roomId 放1分钟30秒每次来了都刷新过期时间
String inRoomId = redisService.getString("IN_ROOM:" + cmd.requiredReqUserId());
String inRoomId = redisService.getString("IN_ROOM:" + userProfile.getId());
if (StringUtils.isNotBlank(inRoomId) && eqRegion) {
RoomProfileManager byId = roomProfileManagerService.getById(Long.valueOf(inRoomId));
if (!Objects.isNull(byId)) {