use of com.usthe.manager.pojo.dto.Dashboard in project hertzbeat by dromara.
the class SummaryController method appMonitors.
@GetMapping
@ApiOperation(value = "Query all application category monitoring statistics", notes = "查询所有应用类别监控统计信息")
public ResponseEntity<Message<Dashboard>> appMonitors() {
List<AppCount> appsCount = monitorService.getAllAppMonitorsCount();
Message<Dashboard> message = new Message<>(new Dashboard(appsCount));
return ResponseEntity.ok(message);
}
Aggregations