liujie
2023-05-26 26fa723daeccb1e731ed24034ac66aa5c56c4269
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);