浏览代码

修改提示语

PLF 5 年之前
父节点
当前提交
30a9824e0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();
             Map<String, Object> result = new HashMap<>();
             result.put("status", "-1");
-            result.put("msg", "登陆失败--onLoginFailure");
+            result.put("msg", "登录异常,请重新登录");
             String json = JSON.toJSONString(result);
             httpResponse.getWriter().print(json);
         } catch (IOException e1) {