跨域请求

ajax请求跨域

ajax.open('get',"{$_G[config][uc_official_url_pc_logout]}");
ajax.withCredentials = true; //支持跨域发送cookie
ajax.send();
posted @ 2018-05-22 19:09  matengfei  阅读(170)  评论(0编辑  收藏  举报