完善权限获取机制

This commit is contained in:
2026-03-31 11:59:00 +08:00
parent 12b60e74df
commit 61b766d939
7 changed files with 56 additions and 53 deletions

View File

@@ -1,3 +1,5 @@
import type { Admin } from "./admin"
export type User = {
id: number
admin_id?: number
@@ -21,7 +23,3 @@ export type User = {
created_at: Date
updated_at: Date
}
export type Admin = {
name: string
}