lishouyi
2023-05-23 88c3ffe527c13ba2081df8fa9cc66cc726946424
src/main/java/com/stylefeng/guns/core/intercept/RestApiInteceptor.java
@@ -31,7 +31,7 @@
    }
    private boolean check(HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod) {
        if (request.getServletPath().equals(JwtConstants.AUTH_PATH)|| request.getServletPath().equals(JwtConstants.FORGET_PATH)|| request.getServletPath().equals(JwtConstants.COMPANY_LOGIN_PATH) ) {
        if (request.getServletPath().equals(JwtConstants.AUTH_PATH)|| request.getServletPath().equals(JwtConstants.FORGET_PATH)|| request.getServletPath().equals(JwtConstants.COMPANY_LOGIN_PATH)|| request.getServletPath().equals(JwtConstants.SEND_CODE) ) {
            return true;
        }
        final String requestHeader = request.getHeader(JwtConstants.AUTH_HEADER);