diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/query/UserProfileUseQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/query/UserProfileUseQryExe.java index 1c88e72d..eb59750b 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/query/UserProfileUseQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/query/UserProfileUseQryExe.java @@ -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)) {