1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| import request from '@/config/axios'
|
| export interface ApiAccessLogVO {
| id: number
| traceId: string
| userId: number
| userType: number
| applicationName: string
| requestMethod: string
| requestParams: string
| responseBody: string
| requestUrl: string
| userIp: string
| userAgent: string
| operateModule: string
| operateName: string
| operateType: number
| beginTime: Date
| endTime: Date
| duration: number
| resultCode: number
| resultMsg: string
| createTime: Date
| }
|
| // 查询列表API 访问日志
| export const getApiAccessLogPage = (params: PageParam) => {
| return request.get({ url: '/infra/api-access-log/page', params })
| }
|
| // 导出API 访问日志
| export const exportApiAccessLog = (params) => {
| return request.download({ url: '/infra/api-access-log/export-excel', params })
| }
|
|