为什么设置了@CrossOrigin还是访问不了?
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},也不行