微信内h5页面授权获取code如果5分钟过期怎么办?麻烦解答一下,谢谢
window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=appid&redirect_uri=' + url + '&response_type=code&scope=snsapi_base&state=1#wechat_redirect'
window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=appid&redirect_uri=' + url + '&response_type=code&scope=snsapi_base&state=1#wechat_redirect'