From e9d20ea984c132ef1991e6a8a231008ba221a8d3 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Wed, 17 Jun 2026 14:39:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E9=81=93=E7=AE=A1=E7=90=86=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/ParkingGuardBooth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/ParkingGuardBooth.php b/app/Models/ParkingGuardBooth.php index 02079f5..c8eb31c 100644 --- a/app/Models/ParkingGuardBooth.php +++ b/app/Models/ParkingGuardBooth.php @@ -46,7 +46,7 @@ class ParkingGuardBooth extends Model public static function getName($id) { - $name = self::query()->value('name'); + $name = self::query()->where('id', $id)->value('name'); return AdminTranslationService::getTranslationTypeName($id, 7, $name); } }