Access to XMLHttpRequest at 'http://localhost:8080/user/getotp' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
试了大家提的方法了,前端浏览器发起请求还是报跨域的错。后端接口用postman测试是🆗的。呜呜呜~
试了大家提的方法了,前端浏览器发起请求还是报跨域的错。后端接口用postman测试是🆗的。呜呜呜~
2021-09-09
举报