添加默认邀请人,download@hifast.biz 'uSSfgY6oAP'
All checks were successful
site-dist-deploy / build-and-deploy (push) Successful in 1m33s
All checks were successful
site-dist-deploy / build-and-deploy (push) Successful in 1m33s
This commit is contained in:
parent
1e26abf1d8
commit
ee8ce4c559
@ -119,7 +119,7 @@ const handleDownload = async (key: string) => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const res: any = await request.get('/api/v1/common/client/download', {
|
const res: any = await request.get('/api/v1/common/client/download', {
|
||||||
invite_code: getAllQueryString('ic'),
|
invite_code: getAllQueryString('ic') || 'uSSfgY6oAP',
|
||||||
platform: platform,
|
platform: platform,
|
||||||
})
|
})
|
||||||
if (res.url) {
|
if (res.url) {
|
||||||
|
|||||||
@ -107,8 +107,8 @@ const currentIndex = ref(0);
|
|||||||
const currentReview = computed(() => reviews[currentIndex.value]);
|
const currentReview = computed(() => reviews[currentIndex.value]);
|
||||||
|
|
||||||
const reviewLink = computed(() => {
|
const reviewLink = computed(() => {
|
||||||
const ic = getAllQueryString('ic');
|
const ic = getAllQueryString('ic') || 'uSSfgY6oAP';
|
||||||
return ic ? `https://hifastvpn.com/reviews?ic=${ic}` : 'https://hifastvpn.com/reviews';
|
return `https://hifastvpn.com/reviews?ic=${ic}`
|
||||||
});
|
});
|
||||||
|
|
||||||
let timer: any = null;
|
let timer: any = null;
|
||||||
|
|||||||
@ -43,7 +43,7 @@ class AdjustUtil {
|
|||||||
console.log('Adjust SDK Initialized (NPM)')
|
console.log('Adjust SDK Initialized (NPM)')
|
||||||
|
|
||||||
// 获取并设置 inviteCode 作为全局参数
|
// 获取并设置 inviteCode 作为全局参数
|
||||||
const ic = getAllQueryString('ic')
|
const ic = getAllQueryString('ic') || 'uSSfgY6oAP'
|
||||||
if (ic) {
|
if (ic) {
|
||||||
Adjust.addGlobalCallbackParameters([
|
Adjust.addGlobalCallbackParameters([
|
||||||
{ key: 'inviteCode', value: ic }
|
{ key: 'inviteCode', value: ic }
|
||||||
|
|||||||
@ -43,7 +43,7 @@ class OpenInstallSdk {
|
|||||||
const button = document.getElementById('downloadButton_apple')
|
const button = document.getElementById('downloadButton_apple')
|
||||||
const button_mac = document.getElementById('downloadButton_mac')
|
const button_mac = document.getElementById('downloadButton_mac')
|
||||||
const button1 = document.getElementById('downloadButton_android')
|
const button1 = document.getElementById('downloadButton_android')
|
||||||
const ic = getAllQueryString('ic')
|
const ic = getAllQueryString('ic') || 'uSSfgY6oAP'
|
||||||
if (button) {
|
if (button) {
|
||||||
button.onclick = function () {
|
button.onclick = function () {
|
||||||
if (ic) {
|
if (ic) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user