首页监控更新

This commit is contained in:
bwcx_jzy 2019-09-19 23:44:48 +08:00
parent 66d488fc05
commit 81a42dcaf1

View File

@ -74,8 +74,10 @@ public class NodeWelcomeController extends BaseServerController {
Cycle cycle = getCycle();
NodeModel node = getNode();
if (cycle == null || cycle == Cycle.none) {
// 未开启直接查询
return NodeForward.request(node, getRequest(), NodeUrl.GetTop).toString();
}
// 开启了节点信息采集
Page pageObj = new Page(1, 60);
pageObj.addOrder(new Order("monitorTime", Direction.DESC));
Entity entity = Entity.create();