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参数错误 求解
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参数错误 求解
要带上http://协议,并且urlencode编码
微信后台也要设置授权回调域名为你的redirect_uri的域名
自己认真看下api:http://mp.weixin.qq.com/wiki/4/9ac2e7b1f1d22e9e57260f6553822520.html