From a7f723befafaa0e842e0a922d2dede10110942ea Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Mon, 29 Sep 2025 12:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=B6=85=E7=BA=A7=E9=87=91?= =?UTF-8?q?=E5=B8=81=E4=BB=A3=E7=90=86=E5=92=8C=E8=B6=85=E7=BA=A7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/service/user/user/UserIdentityServiceImpl.java | 2 ++ .../red/circle/other/app/dto/h5/UserIdentityVO.java | 10 ++++++++++ 2 files changed, 12 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 ebf1cc89..9f9433b4 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 @@ -37,6 +37,8 @@ public class UserIdentityServiceImpl implements UserIdentityService { .setAnchor(Objects.nonNull(teamMember)) .setBd(ResponseAssert.requiredSuccess(bdTeamInfoClient.check(userId))) .setFreightAgent(ResponseAssert.requiredSuccess(freightGoldClient.checkFreightAgent(userId))) + .setSuperFreightAgent(ResponseAssert.requiredSuccess(freightGoldClient.checkSuperFreightAgent(userId))) + .setSuperAdmin(administratorService.existsSupperAdmin(userId)) .setAdmin(administratorService.existsAdmin(userId)); } diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/h5/UserIdentityVO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/h5/UserIdentityVO.java index 21896dd3..0de7037e 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/h5/UserIdentityVO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/h5/UserIdentityVO.java @@ -39,11 +39,21 @@ public class UserIdentityVO implements Serializable { */ private Boolean freightAgent; + /** + * 超级货运代理 + */ + private Boolean superFreightAgent; + /** * 是否管理员 */ private Boolean admin; + /** + * 是否超级管理员 + */ + private Boolean superAdmin; + /** * 历史身份. */