From 05148eeef860d33232874a640dbd67ba43ac5686 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 19 三月 2026 12:51:49 +0800
Subject: [PATCH] #AI.配置中心可运营化

---
 rsf-admin/src/api/ai/mcpMount.js |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/rsf-admin/src/api/ai/mcpMount.js b/rsf-admin/src/api/ai/mcpMount.js
index bd8a831..fd16af3 100644
--- a/rsf-admin/src/api/ai/mcpMount.js
+++ b/rsf-admin/src/api/ai/mcpMount.js
@@ -18,6 +18,15 @@
     throw new Error(msg || "杩為�氭�ф祴璇曞け璐�");
 };
 
+export const validateDraftMcpConnectivity = async (payload) => {
+    const res = await request.post("aiMcpMount/connectivity/validate-draft", payload);
+    const { code, msg, data } = res.data;
+    if (code === 200) {
+        return data;
+    }
+    throw new Error(msg || "鑽夌杩為�氭�ф祴璇曞け璐�");
+};
+
 export const testMcpTool = async (mountId, payload) => {
     const res = await request.post(`aiMcpMount/${mountId}/tool/test`, payload);
     const { code, msg, data } = res.data;

--
Gitblit v1.9.1