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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 查询数据库审计日志分页列表 POST /api/common/logRecords/getDbAuditLogs */
| export async function getDbAuditLogs(body: API.GetDbAuditLogsQuery, options?: API.RequestConfig) {
| return request<API.GetDbAuditLogsQueryResult>('/api/common/logRecords/getDbAuditLogs', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 异常日志分页列表查询 POST /api/common/logRecords/getExceptionLogs */
| export async function getExceptionLogs(
| body: API.GetExceptionLogsQuery,
| options?: API.RequestConfig
| ) {
| return request<API.GetExceptionLogsQueryResult>('/api/common/logRecords/getExceptionLogs', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 资源日志分页列表查询 POST /api/common/logRecords/getResourceLogs */
| export async function getResourceLogs(body: API.GetResourceLogsQuery, options?: API.RequestConfig) {
| return request<API.GetResourceLogsQueryResult>('/api/common/logRecords/getResourceLogs', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 跟踪Id日志查询 GET /api/common/logRecords/getTraceIdLog */
| export async function getTraceIdLog(
| // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
| params: API.APIgetTraceIdLogParams,
| options?: API.RequestConfig
| ) {
| return request<API.GetTraceIdLogQueryResult>('/api/common/logRecords/getTraceIdLog', {
| method: 'GET',
| params: {
| ...params,
| },
| ...(options || {}),
| });
| }
|
| /** 重新发送资源 POST /api/common/logRecords/resendResource */
| export async function resendResource(body: API.ResendResourceCommand, options?: API.RequestConfig) {
| return request<string>('/api/common/logRecords/resendResource', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|