Commit 09618782 by qiuchaofei

1.获取节点类型

parent cbdd5efe
......@@ -532,14 +532,8 @@ public class MetaDataController {
@ApiOperation(tags = "", value = "查询所有的节点元模型")
@RequestMapping(path = "/listAllNodeType", method = RequestMethod.GET)
public List<String> getAllNodeType() {
List<String> nodeTypes = new ArrayList<>();
nodeTypes.add("System");
nodeTypes.add("All");
return nodeTypes;
// return metadataService.findAllNodeTypes();
return metadataService.findAllNodeTypes();
}
private String getIp(){
HttpServletRequest request = getRequest();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment