mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
feat: 添加获取 MCP 路由列表的接口
This commit is contained in:
@@ -160,6 +160,7 @@ func (i *initApi) InitializeData(ctx context.Context) (context.Context, error) {
|
||||
{ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/mcpStatus", Description: "获取 MCP 独立服务状态"},
|
||||
{ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/mcpStart", Description: "启动 MCP 独立服务"},
|
||||
{ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/mcpStop", Description: "停用 MCP 独立服务"},
|
||||
{ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/mcpRoutes", Description: "获取 MCP 路由列表"},
|
||||
{ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/mcpTest", Description: "MCP Tool 管理"},
|
||||
{ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/mcpList", Description: "获取 MCP ToolList"},
|
||||
{ApiGroup: "代码生成器", Method: "POST", Path: "/autoCode/saveAIWorkflowSession", Description: "保存AI需求工作流会话"},
|
||||
|
||||
@@ -172,6 +172,7 @@ func (i *initCasbin) InitializeData(ctx context.Context) (context.Context, error
|
||||
{Ptype: "p", V0: "888", V1: "/autoCode/mcpStatus", V2: "POST"},
|
||||
{Ptype: "p", V0: "888", V1: "/autoCode/mcpStart", V2: "POST"},
|
||||
{Ptype: "p", V0: "888", V1: "/autoCode/mcpStop", V2: "POST"},
|
||||
{Ptype: "p", V0: "888", V1: "/autoCode/mcpRoutes", V2: "POST"},
|
||||
{Ptype: "p", V0: "888", V1: "/autoCode/mcpTest", V2: "POST"},
|
||||
{Ptype: "p", V0: "888", V1: "/autoCode/mcpList", V2: "POST"},
|
||||
{Ptype: "p", V0: "888", V1: "/autoCode/saveAIWorkflowSession", V2: "POST"},
|
||||
@@ -357,6 +358,7 @@ func (i *initCasbin) InitializeData(ctx context.Context) (context.Context, error
|
||||
{Ptype: "p", V0: "9528", V1: "/autoCode/mcpStatus", V2: "POST"},
|
||||
{Ptype: "p", V0: "9528", V1: "/autoCode/mcpStart", V2: "POST"},
|
||||
{Ptype: "p", V0: "9528", V1: "/autoCode/mcpStop", V2: "POST"},
|
||||
{Ptype: "p", V0: "9528", V1: "/autoCode/mcpRoutes", V2: "POST"},
|
||||
{Ptype: "p", V0: "9528", V1: "/autoCode/saveAIWorkflowSession", V2: "POST"},
|
||||
{Ptype: "p", V0: "9528", V1: "/autoCode/getAIWorkflowSessionList", V2: "POST"},
|
||||
{Ptype: "p", V0: "9528", V1: "/autoCode/getAIWorkflowSessionDetail", V2: "POST"},
|
||||
|
||||
Reference in New Issue
Block a user