|
@@ -152,12 +152,13 @@ public class UserController {
|
|
|
|
|
|
@ApiOperation(value = "重置密码[by:zhoutg]",
|
|
|
notes = "username:用户名,必填<br>" +
|
|
|
- "password:密码, 必填<br> ")
|
|
|
+ "password:密码, 必填<br> " +
|
|
|
+ "diffPassword:标志,Y:修改的密码不能和上次相同,其他值:不作限制")
|
|
|
@PostMapping("/resetPassword")
|
|
|
@SysLogger("resetPassword")
|
|
|
@Transactional
|
|
|
public RespDTO<Boolean> resetPassword(@RequestBody ResetPasswordVO resetPasswordVO) {
|
|
|
- return userFacade.resetPassword(resetPasswordVO.getUsername(), resetPasswordVO.getPassword(), "N");
|
|
|
+ return userFacade.resetPassword(resetPasswordVO.getUsername(), resetPasswordVO.getPassword(), resetPasswordVO.getDiffPassword());
|
|
|
}
|
|
|
|
|
|
|