Merge PR #15: feat: 增强用户管理功能,添加用户名、微信号和备注字段
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
export interface User {
|
||||
id: number;
|
||||
username: string;
|
||||
wechat: string;
|
||||
notes: string;
|
||||
email: string;
|
||||
role: 'admin' | 'user'; // User role for authorization
|
||||
balance: number; // User balance for API usage
|
||||
@@ -563,6 +565,9 @@ export interface ApiKeyUsageTrendPoint {
|
||||
export interface UpdateUserRequest {
|
||||
email?: string;
|
||||
password?: string;
|
||||
username?: string;
|
||||
wechat?: string;
|
||||
notes?: string;
|
||||
role?: 'admin' | 'user';
|
||||
balance?: number;
|
||||
concurrency?: number;
|
||||
|
||||
Reference in New Issue
Block a user