https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxe49318eb604cf00b&redirect_uri=
http://hichinamobile.xicp.net/security/wx/record/toAddPage.do&
response_type=code&scope=snsapi_base&state=STATE#wechat_redirect
将上面的URL,生成二维码,然后微信扫描,即可实现自动登录,登录后,根据用户信息展示页面。
1. 如果直接将http://hichinamobile.xicp.net/security/wx/record/toAddPage.do 生成二维码,无法知道扫描的用户信息。但是微信开发中要求的路径生成二维码,可以实现Userid的传递。