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
-1
View File
@@ -10,7 +10,6 @@ type GraphService interface {
GetNeighbors(nodeID string) (model.NeighborResponse, bool)
GetStats() map[string]int
// 新增增删改接口
CreateNode(req model.CreateNodeRequest) (model.Node, error)
UpdateNode(id string, req model.UpdateNodeRequest) (model.Node, error)
DeleteNode(id string) error