feat: 完成操作日志和登录日志修改。

This commit is contained in:
tianyongbao
2026-02-03 22:21:25 +08:00
parent 6ab90d6fe2
commit 3dac1d8931
7 changed files with 919 additions and 125 deletions

26
src/api/system/operlog.js Normal file
View File

@@ -0,0 +1,26 @@
import request from '@/utils/request'
// 查询操作日志列表
export function list(query) {
return request({
url: '/system/operlog/list',
method: 'get',
params: query
})
}
// 删除操作日志
export function delOperlog(operId) {
return request({
url: '/system/operlog/' + operId,
method: 'delete'
})
}
// 清空操作日志
export function cleanOperlog() {
return request({
url: '/system/operlog/clean',
method: 'delete'
})
}