feat:增加主包(tabbar)、system(系统管理)、infra(基础设施)、bpm(工作流程)的页面

This commit is contained in:
YunaiV
2025-12-12 19:16:46 +08:00
parent c14e0d04d0
commit cc94b2a5f7
97 changed files with 12198 additions and 81 deletions

View File

@@ -11,8 +11,9 @@ export interface ISingleTokenRes {
export interface IDoubleTokenRes {
accessToken: string
refreshToken: string
accessExpiresIn: number // 访问令牌有效期(秒)
refreshExpiresIn: number // 刷新令牌有效期(秒)
// accessExpiresIn: number // 访问令牌有效期(秒)
// refreshExpiresIn: number // 刷新令牌有效期(秒)
expiresTime: number // 访问令牌过期时间,单位:毫秒
}
/**
@@ -31,7 +32,18 @@ export interface IUserInfoRes {
[key: string]: any // 允许其他扩展字段
}
/**
* 权限信息
*/
export interface AuthPermissionInfo {
user: IUserInfoRes;
roles: string[];
permissions: string[];
// menus: AppRouteRecordRaw[]; // add by 芋艿:暂时用不到
}
// 认证存储数据结构
// TODO @芋艿:可以考虑删除
export interface AuthStorage {
mode: AuthMode
tokens: ISingleTokenRes | IDoubleTokenRes