|
@@ -53,9 +53,9 @@ public class EntityInfoController {
|
|
|
@ApiOperation(value = "保存[zhaops]",
|
|
|
notes = "name:术语名称(模糊匹配)<br>" +
|
|
|
"labelType:术语类型-知识图谱标签类型(String)<br>")
|
|
|
- @PostMapping("/saveNode")
|
|
|
- public RespDTO<Boolean> saveNode(@RequestBody EntityInfo entityInfo) {
|
|
|
- Boolean data = entityInfoFacade.saveNode(entityInfo);
|
|
|
+ @PostMapping("/saveEntity")
|
|
|
+ public RespDTO<Boolean> saveEntity(@RequestBody EntityInfo entityInfo) {
|
|
|
+ Boolean data = entityInfoFacade.saveEntity(entityInfo);
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
|