mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-04 21:08:30 +08:00
首页监控更新
This commit is contained in:
parent
66d488fc05
commit
81a42dcaf1
@ -74,8 +74,10 @@ public class NodeWelcomeController extends BaseServerController {
|
|||||||
Cycle cycle = getCycle();
|
Cycle cycle = getCycle();
|
||||||
NodeModel node = getNode();
|
NodeModel node = getNode();
|
||||||
if (cycle == null || cycle == Cycle.none) {
|
if (cycle == null || cycle == Cycle.none) {
|
||||||
|
// 未开启、直接查询
|
||||||
return NodeForward.request(node, getRequest(), NodeUrl.GetTop).toString();
|
return NodeForward.request(node, getRequest(), NodeUrl.GetTop).toString();
|
||||||
}
|
}
|
||||||
|
// 开启了节点信息采集
|
||||||
Page pageObj = new Page(1, 60);
|
Page pageObj = new Page(1, 60);
|
||||||
pageObj.addOrder(new Order("monitorTime", Direction.DESC));
|
pageObj.addOrder(new Order("monitorTime", Direction.DESC));
|
||||||
Entity entity = Entity.create();
|
Entity entity = Entity.create();
|
||||||
|
Loading…
Reference in New Issue
Block a user