新增账号搜索开放接口

This commit is contained in:
tianfeng 2025-09-08 18:17:38 +08:00
parent e9df734dae
commit 70e4ba6c5e
3 changed files with 15 additions and 0 deletions

View File

@ -89,6 +89,14 @@ public class UserProfileRestController extends BaseController {
return userProfileService.getUserProfile(cmd); return userProfileService.getUserProfile(cmd);
} }
/**
* 账号搜索开放接口
*/
@GetMapping("/open-search")
public UserProfileDTO openSearch(AccountQryCmd cmd) {
return userProfileService.getUserOpenProfile(cmd);
}
/** /**
* @eo.name 获取用户卡片: 用于资料卡片查询不同系统之间不允许访问 * @eo.name 获取用户卡片: 用于资料卡片查询不同系统之间不允许访问
* @eo.url /card * @eo.url /card

View File

@ -65,6 +65,11 @@ public class UserProfileServiceImpl implements UserProfileService {
return null; return null;
} }
@Override
public UserProfileDTO getUserOpenProfile(AccountQryCmd cmd) {
return userProfileUseByAccountQryExe.execute(cmd);
}
@Override @Override
public UserProfileCardCO getUserProfileCard(UserCardQryCmd cmd) { public UserProfileCardCO getUserProfileCard(UserCardQryCmd cmd) {
return userProfileCardQryExe.execute(cmd); return userProfileCardQryExe.execute(cmd);

View File

@ -22,6 +22,8 @@ public interface UserProfileService {
UserProfileDTO getUserProfile(AccountQryCmd cmd); UserProfileDTO getUserProfile(AccountQryCmd cmd);
UserProfileDTO getUserOpenProfile(AccountQryCmd cmd);
UserProfileCardCO getUserProfileCard(UserCardQryCmd cmd); UserProfileCardCO getUserProfileCard(UserCardQryCmd cmd);
UserProfileDTO updateUserProfile(UserProfileModifyCmd cmd); UserProfileDTO updateUserProfile(UserProfileModifyCmd cmd);