From 4456044b44da1417c06400f58e81ff4a6891e783 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Fri, 12 Jun 2026 18:22:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E5=90=8D=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/EventCalendarService.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Services/EventCalendarService.php b/app/Services/EventCalendarService.php index 692cd98..746fb83 100644 --- a/app/Services/EventCalendarService.php +++ b/app/Services/EventCalendarService.php @@ -312,6 +312,14 @@ class EventCalendarService extends BaseService } else { $data = ParkingPattern::query()->where('is_default', 1)->first($columns); } + if (isset($data['model_name'])) { + $data['model_name'] + = AdminTranslationService::getTranslationTypeName( + $data['pattern_id'], + 10, + $data['model_name'] + ); + } return $data; }