|
@ -28,8 +28,6 @@ public class ServerMonitorController {
|
|
|
private ServerMonitorService monitorService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//跳转到列表页
|
|
|
@RequestMapping("/initial")
|
|
|
public String initial(Model model) {
|
|
@ -51,7 +49,8 @@ public class ServerMonitorController {
|
|
|
@ApiParam(name = "endTime", value = "结束时间", required = true)
|
|
|
@RequestParam(value = "endTime") String endTime) {
|
|
|
HttpSession session = request.getSession();
|
|
|
return monitorService.getMonitorList(session,host,type, beginTime, endTime);
|
|
|
Result result = monitorService.getMonitorList(session, host, type, beginTime, endTime);
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
|
|
@ -67,7 +66,7 @@ public class ServerMonitorController {
|
|
|
@ApiParam(name = "date", value = "时间点", required = true)
|
|
|
@RequestParam(value = "date") String date) {
|
|
|
HttpSession session = request.getSession();
|
|
|
return monitorService.getMonitorDetail(session,host,type, date);
|
|
|
return monitorService.getMonitorDetail(session, host, type, date);
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/hosts", method = RequestMethod.GET)
|