chore: 初始化仓库基线(AGENTS.md、git 规范、敏感文件排除)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { get } from '../api/http';
|
||||
|
||||
export interface ControlLog {
|
||||
id: string;
|
||||
deviceId?: string;
|
||||
deviceName?: string;
|
||||
command: string;
|
||||
operator?: string;
|
||||
success?: boolean;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export const listLogs = (params?: any) =>
|
||||
get<{ items: ControlLog[]; total: number }>('/logs/control', { params });
|
||||
Reference in New Issue
Block a user