inRoomId 替换为 userId
This commit is contained in:
parent
b7a5d6da71
commit
af59e3588e
@ -66,7 +66,7 @@ public class UserProfileUseQryExe {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//放入redis key IN_ROOM:userId v 是roomId 是 放1分钟30秒每次来了都刷新过期时间
|
//放入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) {
|
if (StringUtils.isNotBlank(inRoomId) && eqRegion) {
|
||||||
RoomProfileManager byId = roomProfileManagerService.getById(Long.valueOf(inRoomId));
|
RoomProfileManager byId = roomProfileManagerService.getById(Long.valueOf(inRoomId));
|
||||||
if (!Objects.isNull(byId)) {
|
if (!Objects.isNull(byId)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user