feat: add unique super administrator and role management

This commit is contained in:
wlx committed 2026-09-17 19:03:51 +08:00
1 parent 9e731e47b9
commit 386d15cde2
16 files changed
+455 -24

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
import type { Component } from 'vue'
import type { AuthRole } from './services/auth'
export type Portal = 'user' | 'admin'
export type ModelType = '文本' | '多模态' | '图像' | '3D' | '视频' | '音频'
@@ -72,6 +73,7 @@ export interface AdminUser {
name: string
email: string
role: string
roleCode: AuthRole
balance?: number
usage?: string
lastActive?: string