处理邀请链接
All checks were successful
site-dist-deploy / build-and-deploy (push) Successful in 1m42s

This commit is contained in:
speakeloudest 2026-05-05 04:47:38 +03:00
parent 06587fb47b
commit 2e4c6c2329

View File

@ -30,11 +30,11 @@ class OpenInstallSdk {
constructor(private onReadyCallback?: (sdk: OpenInstallSdk) => void) {
this.OI = {}
this.urlQuery = window.OpenInstall.parseUrlParams()
const id = getAllQueryString('id')
if (id) {
const ic = getAllQueryString('ic') || sessionStorage.getItem('ic') || 'uSSfg1Y1vt'
if (ic) {
this.urlQuery = {
platform: 'merchant',
code: id,
platform: 'download',
inviteCode: ic,
}
}
this.init()