//OPTIONS请求直接放行
if(RequestMethod.OPTIONS.name().equals(request.getMethod())) {
return true;
}

springboot 拦截器取不到 ajax跨域请求的header参数

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2021-06-23
  • 2021-07-25
  • 2021-07-25
  • 2022-12-23
猜你喜欢
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2021-07-20
相关资源
相似解决方案