diff --git a/index.html b/index.html index 2a696bf..aa2e3a9 100644 --- a/index.html +++ b/index.html @@ -406,9 +406,10 @@ console.log("1") // 判断是否需要静默授权 if (form_data_res.data.is_have_webview_voucher) { + axios({ method: 'get', - url: `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}`, + url: `https://test.openapi.1688sup.com/wechat/oauth?jump=${location.origin}`, }) .then(response => { const locationHeader = response.headers['location']; @@ -418,6 +419,7 @@ console.log('Location header not found in the response'); } }); + } // this.wxgzAuth(res.data.is_have_webview_voucher, res.data.token);