Browse Source

修改提示语

PLF 5 years ago
parent
commit
30a9824e0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/caimei/modules/shiro/auth/AuthFilter.java

+ 1 - 1
src/main/java/com/caimei/modules/shiro/auth/AuthFilter.java

@@ -99,7 +99,7 @@ public class AuthFilter extends AuthenticatingFilter {
             Throwable throwable = e.getCause() == null ? e : e.getCause();
             Throwable throwable = e.getCause() == null ? e : e.getCause();
             Map<String, Object> result = new HashMap<>();
             Map<String, Object> result = new HashMap<>();
             result.put("status", "-1");
             result.put("status", "-1");
-            result.put("msg", "登陆失败--onLoginFailure");
+            result.put("msg", "登录异常,请重新登录");
             String json = JSON.toJSONString(result);
             String json = JSON.toJSONString(result);
             httpResponse.getWriter().print(json);
             httpResponse.getWriter().print(json);
         } catch (IOException e1) {
         } catch (IOException e1) {