1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-04 13:04:13 +08:00

12 lines
369 B
Go
Raw Normal View History

2022-11-15 17:20:57 +08:00
import http from '@/api';
import { ResPage, ReqPage } from '../interface';
import { Log } from '../interface/log';
export const getOperationLogs = (info: ReqPage) => {
return http.post<ResPage<Log.OperationLog>>(`/logs/operation`, info);
};
export const getLoginLogs = (info: ReqPage) => {
return http.post<ResPage<Log.OperationLog>>(`/logs/login`, info);
};