前几节课的代码是
@CrossOrigin(allowCredentials = "true",allowedHeaders = "*")
这次课我发现代码被悄悄地改了。。
@CrossOrigin(origins = {"*"}, allowCredentials = "true")
有啥区别?哪个正确?谢谢!
@CrossOrigin(origins = {"*"}, allowCredentials = "true")这个是正确的哈