refactor: Improve Elasticsearch query construction and error handling

This commit is contained in:
wizardchen
2025-11-25 22:06:43 +08:00
parent 64c44c9e27
commit 2f45bf7d86
12 changed files with 158 additions and 154 deletions
-1
View File
@@ -48,7 +48,6 @@ func (h *MCPServiceHandler) CreateMCPService(c *gin.Context) {
return
}
logger.Infof(ctx, "MCP service created successfully: %s", service.Name)
c.JSON(http.StatusOK, gin.H{
"success": true,
"data": service,