From 7cfd43f1e08ca5a707f78388b53d533350b0aab1 Mon Sep 17 00:00:00 2001 From: zhangds Date: Wed, 13 Mar 2024 18:14:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=9B=9E=E8=B0=83?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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` }