打开体验版小程序

This commit is contained in:
zhangguoping 2024-09-02 16:59:13 +08:00
parent c62e8b3a99
commit c67fa35d57
3 changed files with 7 additions and 21 deletions

View File

@ -579,13 +579,8 @@
}
upWXSmallProgramYouBank();
} else {
let url;
if (res.data.redirect_url.indexOf("?") == -1) {
url = res.data.redirect_url + "?env_version=trial"
} else {
url = res.data.redirect_url + "&env_version=trial"
}
window.location.replace(url);
alert(3)
window.location.replace(res.data.redirect_url + "&env_version=trial");
// window.location.replace(res.data.redirect_url);
}
this.getProductDetail();

View File

@ -301,13 +301,8 @@
this.publicCollection(res.data.order_number);
} else {
this.loading = false;
let url;
if (res.data.redirect_url.indexOf("?") == -1) {
url = res.data.redirect_url + "?env_version=trial"
} else {
url = res.data.redirect_url + "&env_version=trial"
}
window.location.replace(url);
alert(2)
window.location.replace(res.data.redirect_url + "&env_version=trial");
//唤起微信福利官小程序
// window.location.replace(res.data.redirect_url);
}

View File

@ -556,13 +556,9 @@
}
upWXSmallProgramYouBank();
} else {
let url;
if (res.data.redirect_url.indexOf("?") == -1) {
url = res.data.redirect_url + "?env_version=trial"
} else {
url = res.data.redirect_url + "&env_version=trial"
}
window.location.replace(url);
alert(1)
window.location.replace(res.data.redirect_url + "&env_version=trial");
// window.location.replace(res.data.redirect_url);
}
self.timeGet = setInterval(() => {
self.getProductDetail(); //