跨域请求

ajax请求跨域

ajax.open('get',"{$_G[config][uc_official_url_pc_logout]}");
ajax.withCredentials = true; //支持跨域发送cookie
ajax.send();
原文地址:https://www.cnblogs.com/matengfei123/p/9073595.html