From d9713a0966343ec33dd7e39eb6a60e9dd2c7f7c4 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 28 Nov 2025 15:15:30 +0800 Subject: [PATCH] =?UTF-8?q?bd=20=E9=82=80=E8=AF=B7=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/command/team/BdLeaderInviteBdExe.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 7333a72b..5da56ded 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 @@ -46,7 +46,6 @@ public class BdLeaderInviteBdExe { private final RoomBdLeadService roomBdLeadService; private final UserProfileGateway userProfileGateway; private final OfficialNoticeClient officialNoticeClient; - private final EnumConfigCacheService enumConfigCacheService; private final UserProfileAppConvertor userProfileAppConvertor; private final BdInviteAgentMessageService bdInviteAgentMessageService; private final BusinessDevelopmentBaseInfoService businessDevelopmentBaseInfoService; @@ -61,6 +60,9 @@ public class BdLeaderInviteBdExe { ResponseAssert.isFalse(CommonErrorCode.INSUFFICIENT_PERMISSION, roomBdLeadService.checkBdLeader(cmd.getInviteUserId())); + ResponseAssert.isFalse(CommonErrorCode.INSUFFICIENT_PERMISSION, + businessDevelopmentBaseInfoService.checkBD(cmd.getInviteUserId())); + // 权限不足 BusinessDevelopmentBaseInfo bd = getDevelopmentBaseInfoServiceByUserId(cmd); ResponseAssert.isFalse(CommonErrorCode.INSUFFICIENT_PERMISSION, Objects.nonNull(bd)