提交 | 用户 | 时间 | ||
e57a89 | 1 | import request from '@/utils/request' |
懒 | 2 | |
3 | // 查询操作日志列表 | |
4 | export function list(query) { | |
5 | return request({ | |
6 | url: '/monitor/operlog/list', | |
7 | method: 'get', | |
8 | params: query | |
9 | }) | |
10 | } | |
11 | ||
12 | // 删除操作日志 | |
13 | export function delOperlog(operId) { | |
14 | return request({ | |
15 | url: '/monitor/operlog/' + operId, | |
16 | method: 'delete' | |
17 | }) | |
18 | } | |
19 | ||
20 | // 清空操作日志 | |
21 | export function cleanOperlog() { | |
22 | return request({ | |
23 | url: '/monitor/operlog/clean', | |
24 | method: 'delete' | |
25 | }) | |
26 | } |