diff --git a/index.html b/index.html index aa2e3a9..96ec978 100644 --- a/index.html +++ b/index.html @@ -407,18 +407,7 @@ // 判断是否需要静默授权 if (form_data_res.data.is_have_webview_voucher) { - axios({ - method: 'get', - url: `https://test.openapi.1688sup.com/wechat/oauth?jump=${location.origin}`, - }) - .then(response => { - const locationHeader = response.headers['location']; - if (locationHeader) { - console.log('Location header:', locationHeader); - } else { - console.log('Location header not found in the response'); - } - }); + location.href = `https://test.openapi.1688sup.com/wechat/oauth?jump=${location.origin}/homepage.html` }