Commit edb06ff4 authored by 张瑶's avatar 张瑶

fix: token参数涉敏,修改为identity

parent 1b56a1f5
Pipeline #86116 passed with stages
......@@ -66,7 +66,7 @@ class Login {
self.globalConfig.token = tk;
getUserInfo(
{
token: tk,
identity: tk,
subOID: 'subOID',
site: this.getLocalSiteBytoken(tk),
ignoreSite: true,
......@@ -252,7 +252,7 @@ class Login {
const self = this;
// eslint-disable-next-line no-undef
getUserInfo({
token: this.globalConfig.token,
identity: this.globalConfig.token,
subOID: 'subOID',
site: noTokenSite ?? this.getLocalSiteBytoken(token),
'request.preventCache': Date.now(),
......@@ -427,7 +427,7 @@ class Login {
getWebSiteConfig({
client: self.globalConfig.client,
// client: window.globalConfig.client,
token,
identity: token,
'request.preventCache': Date.now(),
}),
])
......@@ -581,7 +581,7 @@ class Login {
getWebSiteConfig(
{
client: self.globalConfig.client,
token,
identity: token,
ignoreSite: true,
'request.preventCache': Date.now(),
},
......@@ -993,7 +993,7 @@ class Login {
// eslint-disable-next-line no-undef,no-debugger
getUserInfo(
{
token: tk,
identity: tk,
subOID: 'subOID',
site: this.getLocalSiteBytoken(tk),
ignoreSite: true,
......@@ -1107,7 +1107,7 @@ class Login {
if (self.isSignIn || !!industry) {
// eslint-disable-next-line no-undef
getUserInfo({
token,
identity: token,
subOID: 'subOID',
industry,
site: _industrySite || this.getLocalSiteBytoken(token),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment