This commit is contained in:
parent
06587fb47b
commit
2e4c6c2329
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user