diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdLeaderInviteBdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdLeaderInviteBdExe.java index 56933eb9..89d7868c 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdLeaderInviteBdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/BdLeaderInviteBdExe.java @@ -114,7 +114,7 @@ public class BdLeaderInviteBdExe { roomBdLeadService.checkBdLeader(cmd.requiredReqUserId())); // 权限不足 - ResponseAssert.isFalse(CommonErrorCode.INSUFFICIENT_PERMISSION, + ResponseAssert.isFalse(TeamErrorCode.USER_IS_ALREADY_A_BDLEADER, roomBdLeadService.checkBdLeader(cmd.getInviteUserId())); ResponseAssert.isFalse(TeamErrorCode.USER_IS_A_ADMIN,