From 961303c34aa302ff897c7b3a46ae4d74189a66e9 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Wed, 8 Jul 2026 18:11:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=94=99=E8=AF=AF=E8=BF=94?= =?UTF-8?q?=E5=9B=9E3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/ParkingSpaceService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/ParkingSpaceService.php b/app/Services/ParkingSpaceService.php index de89542..ebf4f2b 100644 --- a/app/Services/ParkingSpaceService.php +++ b/app/Services/ParkingSpaceService.php @@ -318,6 +318,7 @@ class ParkingSpaceService extends BaseService * @param $start_at // 维修开始时间 * @param $end_at // 维修结束时间 * @throws Exception + * @throws CustomException */ public function updateStatus( $id, @@ -399,7 +400,7 @@ class ParkingSpaceService extends BaseService ); DB::commit(); return $model; - } catch (Exception|CustomException $e) { + } catch (Exception $e) { DB::rollBack(); throw $e; }