feat 登录和token对接

This commit is contained in:
xxm
2022-10-12 23:34:27 +08:00
parent 014a6dcf5a
commit 8112891db2
10 changed files with 112 additions and 132 deletions

11
types/store.d.ts vendored
View File

@@ -31,13 +31,14 @@ export interface ErrorLogInfo {
}
export interface UserInfo {
userId: string | number
// 用户id
userId: number
// 名称
name: string
// 账号
username: string
realName: string
// 头像
avatar: string
desc?: string
homePath?: string
roles: RoleInfo[]
}
export interface BeforeMiniState {