From a5e82b36b995c6b231f3d4638476e77e656f44ff Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 19 Aug 2025 19:15:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BA=AB=E4=BB=BD=E6=A0=A1=E9=AA=8C=E6=96=B0?= =?UTF-8?q?=E5=A2=9Ebd=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/service/user/user/UserIdentityServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) 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 86b3a8a6..07fa73c7 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 @@ -3,6 +3,7 @@ package com.red.circle.other.app.service.user.user; import com.red.circle.framework.core.asserts.ResponseAssert; import com.red.circle.other.app.dto.h5.UserIdentityVO; +import com.red.circle.other.inner.endpoint.team.bd.BdTeamInfoClient; import com.red.circle.other.inner.endpoint.team.target.TeamProfileClient; import com.red.circle.other.inner.enums.team.TeamMemberRole; import com.red.circle.other.inner.model.dto.agency.agency.TeamMemberDTO; @@ -18,6 +19,7 @@ public class UserIdentityServiceImpl implements UserIdentityService { private final TeamProfileClient teamProfileClient; private final FreightGoldClient freightGoldClient; + private final BdTeamInfoClient bdTeamInfoClient; @Override public UserIdentityVO getUserIdentity(Long userId) { @@ -26,6 +28,7 @@ public class UserIdentityServiceImpl implements UserIdentityService { return new UserIdentityVO() .setAgent(Objects.nonNull(teamMember) && TeamMemberRole.OWN.eq(teamMember.getRole())) .setAnchor(Objects.nonNull(teamMember)) + .setBd(ResponseAssert.requiredSuccess(bdTeamInfoClient.check(userId))) .setFreightAgent( ResponseAssert.requiredSuccess(freightGoldClient.checkFreightAgent(userId))); }