feat: 增加工具调用
This commit is contained in:
@@ -540,7 +540,7 @@ func (s *Neo4jService) UpdateNode(id string, req model.UpdateNodeRequest) (model
|
||||
query := `MATCH (n {id: $id})`
|
||||
|
||||
// 处理自定义属性(不管是否有标准字段更新)
|
||||
if req.Properties != nil && len(req.Properties) > 0 {
|
||||
if len(req.Properties) > 0 {
|
||||
for key, value := range req.Properties {
|
||||
// 跳过系统属性,避免冲突
|
||||
if key != "id" && key != "label" && key != "type" && key != "x" && key != "y" {
|
||||
|
||||
Reference in New Issue
Block a user