|
|
|
@ -286,7 +286,7 @@ class AdminNoticeService extends BaseService |
|
|
|
$updated_at = $item['updated_at']; |
|
|
|
$updated_times = strtotime($updated_at); |
|
|
|
$diff_times = time() - $updated_times; |
|
|
|
if ($diff_times == 0 || $diff_times >= 300) { |
|
|
|
if (($diff_times >= 0 && $diff_times <= 60) || $diff_times >= 300) { |
|
|
|
$camera_status = ParkingCamera::query()->where( |
|
|
|
'id', |
|
|
|
$item['camera_id'] |
|
|
|
|