From 00b1a7434b5fd2d2f003340c0b66f5fc57716fea Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 19 八月 2025 16:01:47 +0800
Subject: [PATCH] fix: bug

---
 src/services/api/logRecords.ts |   69 ++++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/src/services/api/logRecords.ts b/src/services/api/logRecords.ts
new file mode 100644
index 0000000..ed70d74
--- /dev/null
+++ b/src/services/api/logRecords.ts
@@ -0,0 +1,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(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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 || {}),
+  });
+}

--
Gitblit v1.9.1