完善权限获取机制
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user