From 70e4ba6c5e08aa2a9724ace4a327963e91030d1d Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Mon, 8 Sep 2025 18:17:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=B4=A6=E5=8F=B7=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=BC=80=E6=94=BE=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adapter/app/user/user/UserProfileRestController.java | 8 ++++++++ .../app/service/user/user/UserProfileServiceImpl.java | 5 +++++ .../other/app/service/user/user/UserProfileService.java | 2 ++ 3 files changed, 15 insertions(+) diff --git a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/user/user/UserProfileRestController.java b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/user/user/UserProfileRestController.java index 30460b87..a286ff04 100644 --- a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/user/user/UserProfileRestController.java +++ b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/user/user/UserProfileRestController.java @@ -89,6 +89,14 @@ public class UserProfileRestController extends BaseController { return userProfileService.getUserProfile(cmd); } + /** + * 账号搜索开放接口 + */ + @GetMapping("/open-search") + public UserProfileDTO openSearch(AccountQryCmd cmd) { + return userProfileService.getUserOpenProfile(cmd); + } + /** * @eo.name 获取用户卡片: 用于资料卡片查询,不同系统之间不允许访问 * @eo.url /card diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/user/UserProfileServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/user/UserProfileServiceImpl.java index cf99c1d3..34bd4cbd 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/user/UserProfileServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/user/UserProfileServiceImpl.java @@ -65,6 +65,11 @@ public class UserProfileServiceImpl implements UserProfileService { return null; } + @Override + public UserProfileDTO getUserOpenProfile(AccountQryCmd cmd) { + return userProfileUseByAccountQryExe.execute(cmd); + } + @Override public UserProfileCardCO getUserProfileCard(UserCardQryCmd cmd) { return userProfileCardQryExe.execute(cmd); diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/service/user/user/UserProfileService.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/service/user/user/UserProfileService.java index e500b746..d8cab698 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/service/user/user/UserProfileService.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/service/user/user/UserProfileService.java @@ -22,6 +22,8 @@ public interface UserProfileService { UserProfileDTO getUserProfile(AccountQryCmd cmd); + UserProfileDTO getUserOpenProfile(AccountQryCmd cmd); + UserProfileCardCO getUserProfileCard(UserCardQryCmd cmd); UserProfileDTO updateUserProfile(UserProfileModifyCmd cmd);