Merge branch 'main' of github.com:hainatravel/GHHub

release
YCC 2 years ago
commit 74a58097a8

@ -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();

Loading…
Cancel
Save