添加登录日志

This commit is contained in:
xie7654
2025-07-02 17:17:17 +08:00
parent 6cd05925ff
commit eace8a524d
19 changed files with 443 additions and 23 deletions

View File

@@ -0,0 +1,23 @@
import { BaseModel } from '#/models/base';
export namespace SystemLoginLogApi {
export interface SystemLoginLog {
id: number;
remark: string;
creator: string;
modifier: string;
update_time: string;
create_time: string;
is_deleted: boolean;
username: string;
result: number;
user_ip: string;
user_agent: string;
}
}
export class SystemLoginLogModel extends BaseModel<SystemLoginLogApi.SystemLoginLog> {
constructor() {
super('/system/login_log/');
}
}