冷风12138 2017-04-05 10:28 采纳率: 33.3%
浏览 2280
已采纳

微信公众号redirect_uri参数错误

https://open.weixin.qq.com/connect/oauth2/authorize?appid=appid&redirect_uri=wechattest.mammothcode.com&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect

这里的APPID我已经改过了 但是报redirect_uri参数错误 求解

  • 写回答

1条回答 默认 最新

  • 斯洛文尼亚旅游 2017-04-05 12:19
    关注

    要带上http://协议,并且urlencode编码

    微信后台也要设置授权回调域名为你的redirect_uri的域名

    自己认真看下api:http://mp.weixin.qq.com/wiki/4/9ac2e7b1f1d22e9e57260f6553822520.html

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?