diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java index 256afcc0..7849a550 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java @@ -290,7 +290,7 @@ public class GameLuckyGiftCommon { return; } // 在自己的房间直接返回 - RoomProfileManager profileManager = roomProfileManagerService.getById(param.getRoomId()); + RoomProfileManager profileManager = roomProfileManagerService.getByUserId(param.getUserId()); if (profileManager == null || Objects.equals(profileManager.getId(), roomMember.getRoomId())) { return; }