1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 01:09:17 +08:00
2022-11-18 14:47:40 +08:00

32 lines
683 B
Go

import { DateTimeFormats } from '@intlify/core-base';
export namespace Log {
export interface OperationLog {
id: number;
group: string;
source: string;
action: string;
ip: string;
path: string;
method: string;
userAgent: string;
body: string;
resp: string;
status: number;
latency: number;
errorMessage: string;
detail: string;
createdAt: DateTimeFormats;
}
export interface LoginLogs {
ip: string;
address: string;
agent: string;
status: string;
message: string;
createdAt: DateTimeFormats;
}
}