大头木木
大头木木
  • 发布:2017-01-10 18:02
  • 更新:2017-01-12 09:27
  • 阅读:4316

微信内置浏览器 ajax请求失败

分类:HTML5+

做了一个web版APP,已将页面全部打包上传至服务器,其他浏览器均可打开,QQ内置浏览器也能请求成功,微信内置浏览器ajax请求失败,why ? why ? why ?

2017-01-10 18:02 负责人:无 分享
已邀请:
大头木木

大头木木 (作者)

XMLHttpRequest cannot load https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx*****…en%3D&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://app.houyuanhui.mobi:8081' is therefore not allowed access.

ajax跨域问题

9***@qq.com

9***@qq.com

怎么解决啊,我也遇到这个问题了

  • 大头木木 (作者)

    我这边已解决,是服务端那边的问题,请求了微信登录

    2017-01-13 11:11

该问题目前已经被锁定, 无法添加新回复