|
|
|
@ -130,7 +130,7 @@ public class SysLoginService
|
|
|
|
|
if (!SecurityUtils.matchesPassword(password, sysUser.getPassword())) {
|
|
|
|
|
log.info("登录用户:{} 密码不正确.", username);
|
|
|
|
|
AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.password.not.match")));
|
|
|
|
|
throw new ServiceException("登录失败!");
|
|
|
|
|
return AjaxResult.success(MessageUtils.message("user.password.not.match"));
|
|
|
|
|
}
|
|
|
|
|
LoginUser loginUser = new LoginUser();
|
|
|
|
|
sysUser.setDoctorId(tDoctor.getId());
|
|
|
|
|