微信网页授权获取code链接
本公众号授权
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appid + "&redirect_uri=" + redirect_uri + "&response_type=code&scope=snsapi_base#wechat_redirect";
第三方授权(open.weixin.qq.com)
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appid + "&redirect_uri=" + redirect_uri + "&scope=snsapi_base&response_type=code&state=STATE&component_appid="+componentAppId+"#wechat_redirect";