pre 环境https证书问题

This commit is contained in:
zhangguoping 2024-09-02 14:16:19 +08:00
parent 013f8a2c92
commit da81845d7e
1 changed files with 6 additions and 2 deletions

View File

@ -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 {