ajax跨域

来源:互联网 发布:a星寻路算法介绍 编辑:程序博客网 时间:2024/05/01 14:24
在你的控制层加上response.setHeader("Access-Control-Allow-Origin", "*");就可以解决跨域问题。
0 0