XMLHttpRequest cannot load https://api.17gulu.com/api.php/Weixin/gameOpenid?code=061Ea4kc2zKGmD0pbimc2A5Ujc2Ea4kr. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://weixin.17gulu.com’ is therefore not allowed access.
web请求跨域了,服务器要是自己的就添加跨域允许权限,不是自己的就自己做个服务器curl访问源地址,把结果返回给客户端