ruoyi-auth/src/main/java/com/ruoyi/auth/service/SysLoginService.java
@@ -49,7 +49,7 @@ if (StringUtils.isNull(userResult) || StringUtils.isNull(userResult.getData())) { recordLogService.recordLogininfor(request, null, username, Constants.LOGIN_FAIL_STATUS, "登录用户不存在"); throw new ServiceException("登录用户:" + username + " 不存在"); throw new ServiceException("用户名/密码错误"); } LoginUser userInfo = userResult.getData(); SysUser user = userResult.getData().getSysUser();