跨域问题@CrossOrigin

来源:12-14 用户模型管理--getotp页面美化

_佚名_

2020-10-12

加了注解@CrossOrigin,还是会报如下所示的跨域问题:

The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

写回答

1回答

龙虾三少

2020-10-13

前端的代码xhrfield改了吗

0
0

聚焦Java性能优化 打造亿级流量秒杀系统(赠秒杀项目)

理解高流量电商网站性能构建思路 用高逼格技术解决性能提升问题

2151 学习 · 1003 问题

查看课程