提交 | 用户 | 时间
|
820397
|
1 |
import request from '@/config/axios' |
H |
2 |
|
|
3 |
export type OperateLogVO = { |
|
4 |
id: number |
|
5 |
traceId: string |
|
6 |
userType: number |
|
7 |
userId: number |
|
8 |
userName: string |
|
9 |
type: string |
|
10 |
subType: string |
|
11 |
bizId: number |
|
12 |
action: string |
|
13 |
extra: string |
|
14 |
requestMethod: string |
|
15 |
requestUrl: string |
|
16 |
userIp: string |
|
17 |
userAgent: string |
|
18 |
creator: string |
|
19 |
creatorName: string |
|
20 |
createTime: Date |
|
21 |
} |
|
22 |
|
|
23 |
// 查询操作日志列表 |
|
24 |
export const getOperateLogPage = (params: PageParam) => { |
|
25 |
return request.get({ url: '/system/operate-log/page', params }) |
|
26 |
} |
|
27 |
// 导出操作日志 |
|
28 |
export const exportOperateLog = (params: any) => { |
|
29 |
return request.download({ url: '/system/operate-log/export', params }) |
|
30 |
} |