Commit edb06ff4 authored by 张瑶's avatar 张瑶

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

parent 1b56a1f5
Pipeline #86116 passed with stages
...@@ -66,7 +66,7 @@ class Login { ...@@ -66,7 +66,7 @@ class Login {
self.globalConfig.token = tk; self.globalConfig.token = tk;
getUserInfo( getUserInfo(
{ {
token: tk, identity: tk,
subOID: 'subOID', subOID: 'subOID',
site: this.getLocalSiteBytoken(tk), site: this.getLocalSiteBytoken(tk),
ignoreSite: true, ignoreSite: true,
...@@ -252,7 +252,7 @@ class Login { ...@@ -252,7 +252,7 @@ class Login {
const self = this; const self = this;
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
getUserInfo({ getUserInfo({
token: this.globalConfig.token, identity: this.globalConfig.token,
subOID: 'subOID', subOID: 'subOID',
site: noTokenSite ?? this.getLocalSiteBytoken(token), site: noTokenSite ?? this.getLocalSiteBytoken(token),
'request.preventCache': Date.now(), 'request.preventCache': Date.now(),
...@@ -427,7 +427,7 @@ class Login { ...@@ -427,7 +427,7 @@ class Login {
getWebSiteConfig({ getWebSiteConfig({
client: self.globalConfig.client, client: self.globalConfig.client,
// client: window.globalConfig.client, // client: window.globalConfig.client,
token, identity: token,
'request.preventCache': Date.now(), 'request.preventCache': Date.now(),
}), }),
]) ])
...@@ -581,7 +581,7 @@ class Login { ...@@ -581,7 +581,7 @@ class Login {
getWebSiteConfig( getWebSiteConfig(
{ {
client: self.globalConfig.client, client: self.globalConfig.client,
token, identity: token,
ignoreSite: true, ignoreSite: true,
'request.preventCache': Date.now(), 'request.preventCache': Date.now(),
}, },
...@@ -993,7 +993,7 @@ class Login { ...@@ -993,7 +993,7 @@ class Login {
// eslint-disable-next-line no-undef,no-debugger // eslint-disable-next-line no-undef,no-debugger
getUserInfo( getUserInfo(
{ {
token: tk, identity: tk,
subOID: 'subOID', subOID: 'subOID',
site: this.getLocalSiteBytoken(tk), site: this.getLocalSiteBytoken(tk),
ignoreSite: true, ignoreSite: true,
...@@ -1107,7 +1107,7 @@ class Login { ...@@ -1107,7 +1107,7 @@ class Login {
if (self.isSignIn || !!industry) { if (self.isSignIn || !!industry) {
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
getUserInfo({ getUserInfo({
token, identity: token,
subOID: 'subOID', subOID: 'subOID',
industry, industry,
site: _industrySite || this.getLocalSiteBytoken(token), 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