慕慕5239605
2020-09-10 20:05
Access to XMLHttpRequest at 'http://localhost:8080/user/getotp' from origin 'http://127.0.0.1:8020' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
加上xhrFields:{withCredentials:true},也不行
看下接口名字是不是写错了,我就是写错了,然后报这个错误的
SpringBoot构建电商基础秒杀项目
49064 学习 · 954 问题
相似问题