修改下载官网地址及deeplink

This commit is contained in:
chenruiye
2025-06-13 16:02:07 +08:00
parent 2287fdb689
commit ab746d13a8
5 changed files with 8 additions and 8 deletions

View File

@@ -128,9 +128,9 @@ $('.box .xz').click(function () {
} else if (browser.android) {
console.log('安卓');
timer = setTimeout(() => {
window.location.href = 'http://play.google.com/store/apps/details?id=com.hhchu.molistar'
window.location.href = 'https://moliparty.com/'
}, 3000)
window.location.href = `molistar://app/invite?code=${inviteCode}`
window.location.href = `moliparty://app/invite?code=${inviteCode}`
} else {
console.log('其他')

View File

@@ -222,12 +222,12 @@ $("#copyBtn").click(function () {
$(".open").click(function (event) {
event.preventDefault(); // 阻止默认行为
var deepLinkUrl = `molistar://app?code=${code}`; // 你的 Deep Link URL
var deepLinkUrl = `moliparty://app?code=${code}`; // 你的 Deep Link URL
console.log(deepLinkUrl,'------')
window.location.href = deepLinkUrl;
// 设置超时检测
setTimeout(function() {
window.location.href = 'https://api.molistar.xyz/molistar/home/index.html'
window.location.href = 'https://moliparty.com/'
}, 2000); // 超时时间 500ms
})

View File

@@ -295,7 +295,7 @@ function getConfig() {
$(`.contactUs_pub .contactUs_pub_in ul .li3 span`).html(`<b>Email:</b> ${res.data.contact2}`);
// 賦值下載
// and = res.data.androidUrl;
and = "http://play.google.com/store/apps/details?id=com.hhchu.molistar";
and = "https://moliparty.com/";
ios = res.data.iosUrl;
androidSkipType = res.data.androidSkipType;
iosSkipType = res.data.iosSkipType;

View File

@@ -126,11 +126,11 @@ function getData() {
$(".foot_btn").click(function (event) {
event.preventDefault(); // 阻止默认行为
var deepLinkUrl = `molistar://app?code=${code}`; // 你的 Deep Link URL
var deepLinkUrl = `moliparty://app?code=${code}`; // 你的 Deep Link URL
console.log(deepLinkUrl,'------deepLinkUrl')
window.location.href = deepLinkUrl;
// 设置超时检测
setTimeout(function() {
window.location.href = 'https://api.molistar.xyz/molistar/home/index.html'
window.location.href = 'https://moliparty.com/'
}, 2000); // 超时时间 500ms
})

View File

@@ -1,6 +1,6 @@
var browser = checkVersion();
const urlPrefix = getUrlPrefix();
const urlTest = "https://api.molistarlive.com";
const urlTest = "https://api.moliparty.com";
const urlProduct = "http://beta.api.molistarlive.com";
let arr = [];
let arr2 = [];