diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/sys/query/GameListConfigQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/sys/query/GameListConfigQryExe.java index e07b12be..d1a4fed0 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/sys/query/GameListConfigQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/sys/query/GameListConfigQryExe.java @@ -47,6 +47,10 @@ public class GameListConfigQryExe { return configs; } + if (StringUtils.isBlank(cmd.getRoomSessionId())) { + configs = configs.stream().filter(e -> !"CHAT_ROOM".equals(e.getGameMode())).toList(); + } + // 获得用户区域 String regionId = userRegionGateway.getRegionId(cmd.requiredReqUserId());