为什么设置了允许跨域请求还是收不到opt验证码
UserController文件加了注解@CrossOrigin(allowCredentials = "true", allowedHeaders = "*")
getopt文件加了
//允许跨域请求 xhrFields:{withCredentials:true},还是无法实现跨域请求收到验证码,请指教,谢谢
UserController文件加了注解@CrossOrigin(allowCredentials = "true", allowedHeaders = "*")
getopt文件加了
//允许跨域请求 xhrFields:{withCredentials:true},还是无法实现跨域请求收到验证码,请指教,谢谢
2020-06-02
举报