|
@@ -1033,12 +1033,8 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
|
|
|
@GetMapping(value = "/terminalHeartbeatLog")
|
|
|
public AjaxResult terminalHeartbeatLog() {
|
|
|
- TerminalHeartbeatLog terminalHeartbeatLog=new TerminalHeartbeatLog();
|
|
|
- terminalHeartbeatLog.setId(terminalHeartbeatLogService.count()+1);
|
|
|
- terminalHeartbeatLog.setCameraCode("111");
|
|
|
- terminalHeartbeatLog.setCreateTime(new Date());
|
|
|
- boolean save = terminalHeartbeatLogService.save(terminalHeartbeatLog);
|
|
|
- return AjaxResult.success(save);
|
|
|
+ List<TerminalHeartbeatLog> list=terminalHeartbeatLogService.terminalHeartbeatLogList();
|
|
|
+ return AjaxResult.success(list);
|
|
|
}
|
|
|
}
|
|
|
|