微信網頁授權:
https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect
跳轉後地址 redirect_uri/?code=CODE&state=STATE。
redirect_uri如果不進行urlencode編碼, 跳轉後地址只能拿到一個參數。
如果要放置多個參數, 就按照文檔上對其進行urlencode進行編碼。
注: 如果有參數名爲openId,跳轉後地址欄是拿不到的