This commit is contained in:
parent
06587fb47b
commit
2e4c6c2329
@ -30,11 +30,11 @@ class OpenInstallSdk {
|
|||||||
constructor(private onReadyCallback?: (sdk: OpenInstallSdk) => void) {
|
constructor(private onReadyCallback?: (sdk: OpenInstallSdk) => void) {
|
||||||
this.OI = {}
|
this.OI = {}
|
||||||
this.urlQuery = window.OpenInstall.parseUrlParams()
|
this.urlQuery = window.OpenInstall.parseUrlParams()
|
||||||
const id = getAllQueryString('id')
|
const ic = getAllQueryString('ic') || sessionStorage.getItem('ic') || 'uSSfg1Y1vt'
|
||||||
if (id) {
|
if (ic) {
|
||||||
this.urlQuery = {
|
this.urlQuery = {
|
||||||
platform: 'merchant',
|
platform: 'download',
|
||||||
code: id,
|
inviteCode: ic,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.init()
|
this.init()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user