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 {