From ee8ce4c559b41b4bb2e7f78709d267791cb9081f Mon Sep 17 00:00:00 2001 From: speakeloudest Date: Fri, 10 Apr 2026 06:00:35 +0300 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4=E9=82=80?= =?UTF-8?q?=E8=AF=B7=E4=BA=BA=EF=BC=8Cdownload@hifast.biz=20'uSSfgY6oAP'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Home/components/DownloadButton.vue | 2 +- src/pages/Home/components/ReviewCarousel/index.vue | 4 ++-- src/utils/adjust.ts | 2 +- src/utils/openinstall.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/Home/components/DownloadButton.vue b/src/pages/Home/components/DownloadButton.vue index abe0939..4e0cacb 100644 --- a/src/pages/Home/components/DownloadButton.vue +++ b/src/pages/Home/components/DownloadButton.vue @@ -119,7 +119,7 @@ const handleDownload = async (key: string) => { try { const res: any = await request.get('/api/v1/common/client/download', { - invite_code: getAllQueryString('ic'), + invite_code: getAllQueryString('ic') || 'uSSfgY6oAP', platform: platform, }) if (res.url) { diff --git a/src/pages/Home/components/ReviewCarousel/index.vue b/src/pages/Home/components/ReviewCarousel/index.vue index 779b1ea..de8cd25 100644 --- a/src/pages/Home/components/ReviewCarousel/index.vue +++ b/src/pages/Home/components/ReviewCarousel/index.vue @@ -107,8 +107,8 @@ const currentIndex = ref(0); const currentReview = computed(() => reviews[currentIndex.value]); const reviewLink = computed(() => { - const ic = getAllQueryString('ic'); - return ic ? `https://hifastvpn.com/reviews?ic=${ic}` : 'https://hifastvpn.com/reviews'; + const ic = getAllQueryString('ic') || 'uSSfgY6oAP'; + return `https://hifastvpn.com/reviews?ic=${ic}` }); let timer: any = null; diff --git a/src/utils/adjust.ts b/src/utils/adjust.ts index fb70a3a..368e42e 100644 --- a/src/utils/adjust.ts +++ b/src/utils/adjust.ts @@ -43,7 +43,7 @@ class AdjustUtil { console.log('Adjust SDK Initialized (NPM)') // 获取并设置 inviteCode 作为全局参数 - const ic = getAllQueryString('ic') + const ic = getAllQueryString('ic') || 'uSSfgY6oAP' if (ic) { Adjust.addGlobalCallbackParameters([ { key: 'inviteCode', value: ic } diff --git a/src/utils/openinstall.ts b/src/utils/openinstall.ts index 4251780..1c2530d 100644 --- a/src/utils/openinstall.ts +++ b/src/utils/openinstall.ts @@ -43,7 +43,7 @@ class OpenInstallSdk { const button = document.getElementById('downloadButton_apple') const button_mac = document.getElementById('downloadButton_mac') const button1 = document.getElementById('downloadButton_android') - const ic = getAllQueryString('ic') + const ic = getAllQueryString('ic') || 'uSSfgY6oAP' if (button) { button.onclick = function () { if (ic) {