From 044a38fffec28f7d246d81b3a06cfb1612bffd99 Mon Sep 17 00:00:00 2001 From: Jimmy Liow <18777396951@163.com> Date: Wed, 24 May 2023 15:46:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8E=B7=E5=8F=96=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/Auth.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/stores/Auth.js b/src/stores/Auth.js index 0c50211..7f291b6 100644 --- a/src/stores/Auth.js +++ b/src/stores/Auth.js @@ -11,7 +11,9 @@ class Auth { makeAutoObservable(this, { rootStore: false }); this.root = root; this.login.token = root.getSession(KEY_LOGIN_TOKEN); - console.info('Auth()'); + setInterval(() => { + console.info('Auth.check.token.'); + }, 1000); } valdateUserPassword(usr, pwd) { @@ -34,7 +36,6 @@ class Auth { fetchUserDetail(userId) { const fetchUrl = prepareUrl(HT_HOST + '/service-CooperateSOA/GetLinkManInfo') - .append('LMI_SN', userId) .append('token', this.login.token) .build();