在网页授权的第一步,获取code值的时候,会先打开这个链接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值的时候,会先打开这个链接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参数里面的网址。这样子的话页面就会刷新两遍。如何避免这种情况。