| | |
| | | } |
| | | |
| | | 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); |