Files
dm-manage-web/src/api/monitor/operlog.js

27 lines
482 B
JavaScript
Raw Normal View History

2023-03-21 00:53:28 +08:00
import request from '@/utils/request';
2023-02-15 09:17:05 +08:00
// 查询操作日志列表
export function list(query) {
return request({
url: '/monitor/operlog/list',
method: 'get',
params: query
2023-03-21 00:53:28 +08:00
});
2023-02-15 09:17:05 +08:00
}
// 删除操作日志
export function delOperlog(operId) {
return request({
url: '/monitor/operlog/' + operId,
method: 'delete'
2023-03-21 00:53:28 +08:00
});
2023-02-15 09:17:05 +08:00
}
// 清空操作日志
export function cleanOperlog() {
return request({
url: '/monitor/operlog/clean',
method: 'delete'
2023-03-21 00:53:28 +08:00
});
2023-02-15 09:17:05 +08:00
}