错误异常>移动开发>微信公众号
可以从以下几个方面检查配置:
1、appid是否正确
2、当前域名有没有配置到网页授权权限的域名的清单里面
3、公众号是服务号还是订阅号
4、公众号有没有认证或者认证过期
5、scope参数位置是否正确 。正确位置如下:
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxf0e81c3bee622d60&redirect_uri=http%3A%2F%2Fnba.bluewebgame.com%2Foauth_response.php&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect