springboot 拦截器取不到 ajax跨域请求的header参数 //OPTIONS请求直接放行if(RequestMethod.OPTIONS.name().equals(request.getMethod())) { return true;}