Commit b3fdd5fa authored by liuzheng712's avatar liuzheng712

update

parent 853eaffc
...@@ -286,37 +286,7 @@ server.run = function (options) { ...@@ -286,37 +286,7 @@ server.run = function (options) {
} }
] ]
} }
]); ])
res.json([{
"name": "测试服务器组1",
"id": 1,
"children": [{"name": "测试服务器1", "uuid": "", "type": "ssh", "users": ["root", "test"]}, {
"name": "测试服务器2",
"uuid": "",
"type": "ssh",
"users": ["root", "test"]
}]
}, {
"name": "樱花庄服务器组",
"id": 2,
"children": [{"name": "测试服务器1", "uuid": "", "type": "ssh", "users": ["root", "test"]}, {
"name": "测试服务器2",
"uuid": "",
"type": "ssh",
"users": ["root", "test"]
}]
}, {
"name": "阿里云服务器组",
"id": 3,
"children": [{"name": "测试服务器1", "uuid": "", "type": "ssh", "users": ["root", "test"]}, {
"name": "测试服务器2",
"uuid": "",
"type": "ssh",
"users": ["root", "test"]
}]
}])
}); });
app.use("/api", apis); app.use("/api", apis);
......
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