CeDo
2021-05-25 fe467f6c6be0b8b1cc47d2cdef66503fcfc59e7d
springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/handel/UserLoginFailureHandler.java
@@ -31,7 +31,7 @@
        log.info("登录失败");
        // 这些对于操作的处理类可以根据不同异常进行不同处理
        if (exception instanceof UsernameNotFoundException){
            ResultUtil.responseJson(response, R.fail("用户名不存在"));
            ResultUtil.responseJson(response, R.fail("该账号不存在"));
        }
        if (exception instanceof LockedException){
            ResultUtil.responseJson(response,R.fail("用户被冻结"));