From 3972f2bfbe912c191b4838eb0c9ee1d2a6ea2961 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 16 Sep 2025 19:57:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E5=85=A5=E6=88=BF=E9=97=B4=E4=B8=8D?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/app/command/room/RoomEnterCmdExe.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomEnterCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomEnterCmdExe.java index 930e080b..1be9e223 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomEnterCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomEnterCmdExe.java @@ -19,7 +19,6 @@ import com.red.circle.other.app.dto.cmd.room.RoomEntryCmd; import com.red.circle.other.domain.gateway.user.UserProfileGateway; import com.red.circle.other.domain.gateway.user.ability.UserRegionGateway; import com.red.circle.other.infra.database.cache.service.other.RoomManagerCacheService; -import com.red.circle.other.infra.database.cache.service.user.RegionRoomCacheService; import com.red.circle.other.infra.database.cache.service.user.UserAgoraTokenCacheService; import com.red.circle.other.infra.database.mongo.entity.live.RoomProfile; import com.red.circle.other.infra.database.mongo.entity.live.RoomProfileManager; @@ -82,7 +81,6 @@ public class RoomEnterCmdExe { private final TrtcClient trtcClient; private final UserAgoraTokenCacheService userAgoraTokenCacheService; private final TaskMqMessage taskMqMessage; - private final RegionRoomCacheService regionRoomCacheService; public EntryRoomResponseCO execute(RoomEntryCmd cmd) { //checkEntryUserId(cmd); @@ -126,11 +124,6 @@ public class RoomEnterCmdExe { log.error("进房间添加足迹异常:{}", e.getMessage()); } - //清空房间列表缓存 - String region = userRegionGateway.getRegionCode(cmd.requiredReqUserId()); - String key = cmd.requireReqSysOrigin() + region; - regionRoomCacheService.remove(key); - return new EntryRoomResponseCO() .setRoomProfile( new EntryRoomProfileCO()