From a02e939f9cfa11d49913ae89a8757dfdafb78a51 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Mon, 3 Aug 2026 10:08:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86=E7=9B=B8?= =?UTF-8?q?=E6=9C=BAip=E4=B8=8D=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Device/CameraApiController.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Device/CameraApiController.php b/app/Http/Controllers/Device/CameraApiController.php index 13e5e1c..ffce8ad 100644 --- a/app/Http/Controllers/Device/CameraApiController.php +++ b/app/Http/Controllers/Device/CameraApiController.php @@ -2,11 +2,16 @@ namespace App\Http\Controllers\Device; +use App\Models\ParkingAccessRecord; use App\Models\ParkingCamera; +use App\Models\ParkingSpace; +use App\Models\ParkingSpaceCamera; use App\Services\HikParkingCameraService; +use App\Services\ParkingAccessRecordService; use App\Services\ParkingCameraService; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; +use Illuminate\Support\Facades\DB; class CameraApiController extends BaseController { @@ -25,7 +30,7 @@ class CameraApiController extends BaseController public function getCameraData(): JsonResponse { - $data = ParkingCamera::query()->select(['id', 'camera_ip', 'status']) + $data = ParkingCamera::query()->where('camera_ip', '<>', '192.168.66.63')->select(['id', 'camera_ip', 'status']) ->get() ->toArray(); return $this->responseService->success(['list' => $data]);