From a3f001b0e964ba85cf2ff8f7151b608bc8d0fabb Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Mon, 27 Apr 2026 14:20:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BD=A6=E4=BD=8D=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E6=98=AF=E5=90=A6=E9=97=AA=E7=83=812?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/ParkingSpaceTypeService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/ParkingSpaceTypeService.php b/app/Services/ParkingSpaceTypeService.php index f7e9cda..f7c974b 100644 --- a/app/Services/ParkingSpaceTypeService.php +++ b/app/Services/ParkingSpaceTypeService.php @@ -93,7 +93,7 @@ class ParkingSpaceTypeService { $saveData = [ 'name' => $data['name'], - 'is_default' => $data['is_default'], + 'is_default' => $data['is_default'] ?? '0', 'default_color_occupy' => $data['default_color_occupy'] ?? '', 'default_color_vacant' => $data['default_color_vacant'] ?? '', 'default_color_warning' => $data['default_color_warning'] ?? '',