feat: add user api limit

This commit is contained in:
shinya
2025-08-20 19:37:36 +08:00
parent 98a76bcd5c
commit ed03c86436
12 changed files with 322 additions and 46 deletions

View File

@@ -22,6 +22,7 @@ export interface AdminConfig {
username: string;
role: 'user' | 'admin' | 'owner';
banned?: boolean;
enabledApis?: string[]; // 为空则允许全部
}[];
};
SourceConfig: {