feat: add user api limit
This commit is contained in:
@@ -22,6 +22,7 @@ export interface AdminConfig {
|
||||
username: string;
|
||||
role: 'user' | 'admin' | 'owner';
|
||||
banned?: boolean;
|
||||
enabledApis?: string[]; // 为空则允许全部
|
||||
}[];
|
||||
};
|
||||
SourceConfig: {
|
||||
|
||||
Reference in New Issue
Block a user