mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-04 13:04:13 +08:00
12 lines
369 B
Go
12 lines
369 B
Go
![]() |
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);
|
||
|
};
|