From 16a55121640021feef83abb67c6377883b20e60d Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Mon, 27 Oct 2025 19:30:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=BA=AB=E4=BB=BD=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=98=AF=E5=90=A6bdleader=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/service/user/user/UserIdentityServiceImpl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/user/UserIdentityServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/user/UserIdentityServiceImpl.java index 9f9433b4..ee5616ac 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/user/UserIdentityServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/user/UserIdentityServiceImpl.java @@ -4,9 +4,11 @@ package com.red.circle.other.app.service.user.user; import com.red.circle.framework.core.asserts.ResponseAssert; import com.red.circle.other.app.dto.cmd.material.PropsStoreTypeQryCmd; import com.red.circle.other.app.dto.h5.UserIdentityVO; +import com.red.circle.other.app.service.team.TeamBdService; import com.red.circle.other.infra.database.rds.service.sys.AdministratorAuthService; import com.red.circle.other.infra.database.rds.service.sys.AdministratorService; import com.red.circle.other.inner.endpoint.team.bd.BdTeamInfoClient; +import com.red.circle.other.inner.endpoint.team.bd.BdTeamLeaderClient; import com.red.circle.other.inner.endpoint.team.target.TeamProfileClient; import com.red.circle.other.inner.enums.material.PropsCommodityType; import com.red.circle.other.inner.enums.team.TeamMemberRole; @@ -27,6 +29,7 @@ public class UserIdentityServiceImpl implements UserIdentityService { private final BdTeamInfoClient bdTeamInfoClient; private final AdministratorService administratorService; private final AdministratorAuthService administratorAuthService; + private final BdTeamLeaderClient bdTeamLeaderClient; @Override public UserIdentityVO getUserIdentity(Long userId) { @@ -39,7 +42,9 @@ public class UserIdentityServiceImpl implements UserIdentityService { .setFreightAgent(ResponseAssert.requiredSuccess(freightGoldClient.checkFreightAgent(userId))) .setSuperFreightAgent(ResponseAssert.requiredSuccess(freightGoldClient.checkSuperFreightAgent(userId))) .setSuperAdmin(administratorService.existsSupperAdmin(userId)) - .setAdmin(administratorService.existsAdmin(userId)); + .setAdmin(administratorService.existsAdmin(userId)) + .setBdLeader(ResponseAssert.requiredSuccess(bdTeamLeaderClient.check(userId))) + ; } @Override