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 5da56ded..29d1e81f 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 @@ -57,10 +57,10 @@ 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(CommonErrorCode.INSUFFICIENT_PERMISSION, + ResponseAssert.isFalse(TeamErrorCode.USER_IS_ALREADY_A_BD, businessDevelopmentBaseInfoService.checkBD(cmd.getInviteUserId())); // 权限不足