zhou zhou
5 小时以前 3d81df739dc45599c257d8cdefe0996f66ccdeae
rsf-admin/src/api/ai/mcpMount.js
@@ -9,6 +9,15 @@
    throw new Error(msg || "获取工具列表失败");
};
export const testMcpConnectivity = async (mountId) => {
    const res = await request.post(`aiMcpMount/${mountId}/connectivity/test`);
    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;