parent
f6f4e5e007
commit
4e86efbab4
|
@ -70,8 +70,8 @@ class IndexController extends BaseApiController
|
|||
'create_time' => $landCollection['create_time']
|
||||
];
|
||||
$monitorThreshold = MonitorThreshold::select();
|
||||
if($monitorThreshold){
|
||||
$monitorThreshold=$monitorThreshold->toArray()[0];
|
||||
if($monitorThreshold->toArray()!=null){
|
||||
$monitorThreshold=$monitorThreshold[0];
|
||||
}else{
|
||||
$monitorThreshold=[];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue