This commit is contained in:
Putoo
2026-05-18 18:12:21 +08:00
parent 571877970b
commit 2037d1e577
20 changed files with 555 additions and 77 deletions

View File

@@ -16,20 +16,22 @@ export class StateHelper {
static get userId() {
return this.userStore.userId;
}
static SetToken(userId: string, token: string, refToken: string) {
this.userStore.setToken(userId, token, refToken);
}
static SetSid(sid: string) {
this.userStore.setSid(sid);
}
static OffOnline()
{
static OffOnline() {
this.userStore.offOnline();
}
static get IsAccLogin(){
static get IsAccLogin() {
return this.userStore.isLoginAccount;
}
static get IsLogin(){
static get IsLogin() {
return this.userStore.isLogin;
}