diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomBlackJoinCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomBlackJoinCmdExe.java index 6b2c3838..2964b8a3 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomBlackJoinCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/room/RoomBlackJoinCmdExe.java @@ -109,7 +109,7 @@ public class RoomBlackJoinCmdExe { // 被踢用户开启了防拉黑权限 ResponseAssert.isFalse(CommonErrorCode.INSUFFICIENT_PERMISSION, - userProfileGateway.getUserVipAbility(cmd.getUserId(), VipAbilityType.ANTI_BLOCK)); + userProfileGateway.getUserVipAbility(cmd.getUserId(), VipAbilityType.KICK_PREVENTION)); // 被操作人角色校验 RoomMember beOptMember = roomMemberService.getRoomMember(cmd.getRoomId(), cmd.getUserId());