From 5592253f67bcdd219fae2e5f3139b6383f079218 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Wed, 17 Jun 2026 16:56:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E8=BD=A6=E4=BD=8D=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Admin/IndexController.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/IndexController.php b/app/Http/Controllers/Admin/IndexController.php index 2e7c82d..567d86f 100644 --- a/app/Http/Controllers/Admin/IndexController.php +++ b/app/Http/Controllers/Admin/IndexController.php @@ -8,6 +8,7 @@ use App\Models\ParkingPatternSpace; use App\Models\ParkingSpace; use App\Models\ParkingSpaceType; use App\Services\AdminMenuService; +use App\Services\AdminTranslationService; use App\Services\ApiResponseService; use App\Services\EventCalendarService; use App\Services\OperationLogService; @@ -88,9 +89,15 @@ class IndexController extends BaseController ->whereIn('status', $statusArr) ->whereIn('id', $spaceIds) ->count(); + $type_name + = AdminTranslationService::getTranslationTypeName( + $typeItem['id'], + 1, + $typeItem['name'] + ); $type_list[] = [ 'count' => $type_count, - 'name' => $typeItem['name'] + 'name' => $type_name ]; }