refactor: 重构neo4j服务

This commit is contained in:
2026-04-28 12:53:01 +08:00
parent 3ff8f3951a
commit f998f78c80
10 changed files with 654 additions and 795 deletions
+6
View File
@@ -1,5 +1,11 @@
package model
// ErrorResponse represents a standardized API error response.
type ErrorResponse struct {
Error string `json:"error" example:"bad_request"`
Message string `json:"message" example:"invalid request"`
}
// CreateNodeRequest creates a new node
type CreateNodeRequest struct {
ID string `json:"id" binding:"required" example:"node_123"`