From dbebb8c83128e379bb24d8d7c1bf0838d7c5ebdc Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 20 十一月 2025 15:03:42 +0800
Subject: [PATCH] fix: s

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

diff --git a/src/services/api/BaseModuleNew.ts b/src/services/api/BaseModuleNew.ts
index 7a09141..b2812af 100644
--- a/src/services/api/BaseModuleNew.ts
+++ b/src/services/api/BaseModuleNew.ts
@@ -2,6 +2,18 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
+/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModuleNew/AddOrEditModuleV2 */
+export async function addOrEditModuleV2(body: API.ModuleDtoV2, options?: API.RequestConfig) {
+  return request<string>('/api/BaseModuleNew/AddOrEditModuleV2', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 鏌ヨ鎵�鏈夋ā鍧� GET /api/BaseModuleNew/GetAllModuleList */
 export async function getAllModuleList(
   // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -17,6 +29,21 @@
   });
 }
 
+/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModuleNew/GetCurrentUserModuleListV2 */
+export async function getCurrentUserModuleListV2(
+  body: API.ModuleDtoV2,
+  options?: API.RequestConfig
+) {
+  return request<API.ModuleDtoV2[]>('/api/BaseModuleNew/GetCurrentUserModuleListV2', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModuleNew/GetUserOrRoleModuleList */
 export async function getUserOrRoleModuleList(
   // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)

--
Gitblit v1.9.1