feat: rbac接入完成,file接入完成
This commit is contained in:
+17
-1
@@ -10,7 +10,7 @@ export interface SystemUser {
|
||||
phone?: string
|
||||
avatarId?: string
|
||||
gender?: number // 0=未知 1=男 2=女
|
||||
roles?: string[] // 角色 code 列表(仅 /auth/info 返回)
|
||||
roles?: any[] // 可能是 string[] 也可能是 SystemRole[]
|
||||
menus?: SystemMenu[] // 菜单树(仅 /auth/info 返回)
|
||||
createdAt?: number // Unix 时间戳(秒)
|
||||
roleIds?: string[] // 关联角色 ID(用户管理接口)
|
||||
@@ -22,6 +22,7 @@ export interface SystemRole {
|
||||
code: string
|
||||
sort?: number
|
||||
menuIds?: string[] // 关联菜单 ID 列表
|
||||
createdAt?: number // Unix 时间戳(秒)
|
||||
}
|
||||
|
||||
export interface SystemMenu {
|
||||
@@ -45,6 +46,21 @@ export interface SystemOss {
|
||||
createdAt: string; updatedAt: string
|
||||
}
|
||||
|
||||
export interface StorageConfig {
|
||||
id: string
|
||||
type: string
|
||||
name: string
|
||||
endpoint: string
|
||||
accessKeyId: string
|
||||
accessKeySecret: string
|
||||
bucketName: string
|
||||
bucketUrl: string
|
||||
region?: string
|
||||
isDefault: number
|
||||
status: number
|
||||
remark?: string
|
||||
}
|
||||
|
||||
export interface SystemClient {
|
||||
id: string
|
||||
clientId: string
|
||||
|
||||
Reference in New Issue
Block a user