From 725e7c2b0f9dcf4e0d469645f4b4078b26571070 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Thu, 3 Sep 2026 16:16:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E7=89=8C=E5=8F=B7=E7=A0=81=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BC=98=E5=8C=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/ParkingLicensePlateService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/ParkingLicensePlateService.php b/app/Services/ParkingLicensePlateService.php index 8111bdc..a2e1194 100644 --- a/app/Services/ParkingLicensePlateService.php +++ b/app/Services/ParkingLicensePlateService.php @@ -224,7 +224,7 @@ class ParkingLicensePlateService if ($this->isMainlandChinaPlate($plate)) { // 中国大陆车牌校验(禁止 I、O) $pattern - = '/^[\x{4e00}-\x{9fa5}][A-Z](?:[A-HJ-NP-Z0-9]{6}|(?:[DF][A-HJ-NP-Z0-9][0-9]{4}|[0-9]{5}[DF]))$/u'; + = '/^[\x{4e00}-\x{9fa5}][A-Z](?:[A-HJ-NP-Z0-9]{6}|(?:[A-HJ-NP-Z0-9][0-9]{4}|[0-9]{5}))$/u'; if (!preg_match($pattern, $plate)) { return __validation('parking_space.zh_plate'); }