|
@@ -1234,9 +1234,10 @@ public class GeoHazardMonitorTokenController {
|
|
|
baseVideoTrainsService.save(baseVideoTrains);
|
|
|
heartbeatUtils.createHeartbeat(Constant.HERTBEA_KEY + heartbeatVo.getTerminalCode(), string);
|
|
|
log.info("---------data---结果-------" + respHeartbeatVo);
|
|
|
- AjaxResults1 = new AjaxResults(0, "视频加载中", respHeartbeatVo);
|
|
|
if (StringUtils.isNotEmpty(respHeartbeatVo.getCameraList())) {
|
|
|
AjaxResults1 = new AjaxResults(1, "ok", respHeartbeatVo);
|
|
|
+ }else {
|
|
|
+ AjaxResults1 = new AjaxResults(0, "视频加载中", respHeartbeatVo);
|
|
|
}
|
|
|
long end = System.currentTimeMillis();
|
|
|
log.info("结束心跳时间: " + sdf.format(new Date(end)));
|