|
@@ -72,7 +72,7 @@ class ControlAlarm extends CatchController
|
|
|
* @param Request $request
|
|
|
*/
|
|
|
public function getTodayAlarmlist(Request $request){
|
|
|
- $start_time = date('Y-m-d 00:00:00',time());
|
|
|
+ $start_time = date('Y-m-d 00:00:00',time()-7*24*3600);
|
|
|
$end_time = date('Y-m-d 23:59:59',time());
|
|
|
$xAxisData=[];
|
|
|
$yAxisData=[];
|
|
@@ -93,7 +93,7 @@ class ControlAlarm extends CatchController
|
|
|
* @param Request $request
|
|
|
*/
|
|
|
public function totalAlarmAddress(Request $request){
|
|
|
- $start_time = date('Y-m-d 00:00:00',time());
|
|
|
+ $start_time = date('Y-m-d 00:00:00',time()-7*24*3600);
|
|
|
$end_time = date('Y-m-d 23:59:59',time());
|
|
|
$xAxisData=[];
|
|
|
$yAxisData=[];
|