新增账号搜索开放接口
This commit is contained in:
parent
e9df734dae
commit
70e4ba6c5e
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -22,6 +22,8 @@ public interface UserProfileService {
|
||||
|
||||
UserProfileDTO getUserProfile(AccountQryCmd cmd);
|
||||
|
||||
UserProfileDTO getUserOpenProfile(AccountQryCmd cmd);
|
||||
|
||||
UserProfileCardCO getUserProfileCard(UserCardQryCmd cmd);
|
||||
|
||||
UserProfileDTO updateUserProfile(UserProfileModifyCmd cmd);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user