解决跨域

response.setHeader("Access-Control-Allow-Origin", "*");
response.setHeader("Access-Control-Allow-Headers", "x-requested-with");

 

posted @ 2020-10-16 16:33  二次元的程序猿  阅读(62)  评论(0编辑  收藏  举报