1
This commit is contained in:
parent
599b66299b
commit
8b25aca67a
@ -450,10 +450,11 @@ var default_api = 'https://api.global-interaction.com/';
|
|||||||
type: activeAppConfig.type || 'GOLD',
|
type: activeAppConfig.type || 'GOLD',
|
||||||
sysOrigin: activeAppConfig.sys_origin || 'ATYOU',
|
sysOrigin: activeAppConfig.sys_origin || 'ATYOU',
|
||||||
};
|
};
|
||||||
|
if (value) {
|
||||||
|
query.account = value;
|
||||||
|
}
|
||||||
if (/^\d+$/.test(value)) {
|
if (/^\d+$/.test(value)) {
|
||||||
query.userId = value;
|
query.userId = value;
|
||||||
} else if (value) {
|
|
||||||
query.account = value;
|
|
||||||
}
|
}
|
||||||
return query;
|
return query;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user