@JunQiu
2018-09-18T09:29:03.000000Z
字数 1555
阅读 2508
other summary_2018/06 net npm
1、日常工作
2、技术学习
URL 6 http://search.somedb.com:8080/history?era=darkagesscheme httphostname search.somedb.comport 8080origin http://search.somedb.com:8080path /historyquery ?era=darkagesfragmentURL 7 http://search.somedb.com:8080/history#?modernscheme httphostname search.somedb.comport 8080origin http://search.somedb.com:8080path /historyqueryfragment #?modern
微信扫码登录流程;(1)页面向微信服务端请求扫码登录(APPID)https://open.weixin.qq.com/connect/qrconnect?appid=wx00dc77dadaf54f3b&redirect_uri=http://www.oschina.net/action/openid/after_bind_wechat?goto=&response_type=code&scope=snsapi_login&state=yq56fZZhqBrIDIKAxN0Q(2)服务端返回二维码扫码页面https://open.weixin.qq.com/connect/qrcode/0318gIJLqTcqXhO8(3)页面不断向服务器轮训状态(包括是否扫码或者确认登录)https://long.open.weixin.qq.com/connect/l/qrconnect?uuid=0318gIJLqTcqXhO8&_=1494921848308(4)手机端扫码登录,向服务器确认登录,重定向并携带code(5)页面服务器根据重定向时获得的code,从微信服务器换取用户信息,并生成令牌跳转到需要访问的页面
