From da81845d7efd0eb4512d25a1f66ec3dc0615ca44 Mon Sep 17 00:00:00 2001 From: zhangguoping Date: Mon, 2 Sep 2024 14:16:19 +0800 Subject: [PATCH] =?UTF-8?q?pre=20=E7=8E=AF=E5=A2=83https=E8=AF=81=E4=B9=A6?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b1c7f95..844f49c 100644 --- a/index.html +++ b/index.html @@ -285,7 +285,10 @@ if (this.pageType === 4 || this.pageType === 8) { wxauth_url = `${wxauth_url}?jump=${location.origin}/coupon/couponCollection.html`; } else { - wxauth_url = `${wxauth_url}?jump=${location.origin}/homepage.html`; + debugger; + const url = location.origin.replace("https", "http"); + wxauth_url = `${wxauth_url}?jump=${url}/homepage.html`; + console.log(8, url,wxauth_url); } } } else { @@ -303,7 +306,8 @@ if (this.pageType === 4 || this.pageType === 8) { wxauth_url = `${wxauth_url}?jump=${location.origin}/coupon/couponCollection.html`; } else { - wxauth_url = `${wxauth_url}?jump=${location.origin}/homepage.html`; + const url = location.origin.replace("https", "http"); + wxauth_url = `${wxauth_url}?jump=${url}/homepage.html`; } } } else {