From cc58a3286cf0044dd35aaa7f7a5a991aa3abfde2 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Wed, 10 Jun 2026 17:17:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=B8=E6=9C=BA=E7=AE=A1=E7=90=864?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/ParkingGateControlService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/ParkingGateControlService.php b/app/Services/ParkingGateControlService.php index 57fe943..16f326a 100644 --- a/app/Services/ParkingGateControlService.php +++ b/app/Services/ParkingGateControlService.php @@ -42,7 +42,7 @@ class ParkingGateControlService extends BaseService $item['channel'] = $ParkingChannel['name']; $item['parking'] = Parking::getName($ParkingChannel['parking_id']); } - $item['enter_type_str'] = $typeArr[$item['enter_type']]; + $item['enter_type_str'] = $typeArr[$item['enter_type']] ?? ''; $item['leave_type_str'] = $typeArr[$item['leave_type']] ?? ''; $item['dwell_time'] = get_time_difference_str( $item['enter_at'],