|
@@ -152,12 +152,13 @@ public class UserController {
|
|
|
|
|
|
@ApiOperation(value = "重置密码[by:zhoutg]",
|
|
@ApiOperation(value = "重置密码[by:zhoutg]",
|
|
notes = "username:用户名,必填<br>" +
|
|
notes = "username:用户名,必填<br>" +
|
|
- "password:密码, 必填<br> ")
|
|
|
|
|
|
+ "password:密码, 必填<br> " +
|
|
|
|
+ "diffPassword:标志,Y:修改的密码不能和上次相同,其他值:不作限制")
|
|
@PostMapping("/resetPassword")
|
|
@PostMapping("/resetPassword")
|
|
@SysLogger("resetPassword")
|
|
@SysLogger("resetPassword")
|
|
@Transactional
|
|
@Transactional
|
|
public RespDTO<Boolean> resetPassword(@RequestBody ResetPasswordVO resetPasswordVO) {
|
|
public RespDTO<Boolean> resetPassword(@RequestBody ResetPasswordVO resetPasswordVO) {
|
|
- return userFacade.resetPassword(resetPasswordVO.getUsername(), resetPasswordVO.getPassword(), "N");
|
|
|
|
|
|
+ return userFacade.resetPassword(resetPasswordVO.getUsername(), resetPasswordVO.getPassword(), resetPasswordVO.getDiffPassword());
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -190,6 +191,14 @@ public class UserController {
|
|
return userFacade.getUserAuthStatus(userId);
|
|
return userFacade.getUserAuthStatus(userId);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @PostMapping(value = "/getUserAllInfo")
|
|
|
|
+ @SysLogger("getUserAllInfo")
|
|
|
|
+ @ApiOperation(value = "远程调用,获取用户信息[by:wangyu]")
|
|
|
|
+ @ApiIgnore
|
|
|
|
+ RespDTO<List<User>> getUserAllInfo() {
|
|
|
|
+ return RespDTO.onSuc(userFacade.getAllUserInfos());
|
|
|
|
+ }
|
|
|
|
+
|
|
@PostMapping(value = "/getUserByOrgName")
|
|
@PostMapping(value = "/getUserByOrgName")
|
|
@SysLogger("getUserByOrgName")
|
|
@SysLogger("getUserByOrgName")
|
|
@ApiOperation(value = "远程调用,根据机构名称获取用户信息[by:zhoutg]")
|
|
@ApiOperation(value = "远程调用,根据机构名称获取用户信息[by:zhoutg]")
|