private void initTimeRange(Model model) {
        Date endDate = new Date();
        model.addAttribute("startTime", DateUtils.formatYMD_HMS(DateUtils.addHour(endDate, -3)));
        model.addAttribute("endTime", DateUtils.formatYMD_HMS(endDate));
    }
@author Robert HG (254963746@qq.com) on 8/22/15.
lts-admin/src/main/java/com/github/ltsopensource/admin/web/view/MonitorView.java