From cf4c01d73a68b58bf1e3ecf0a3448bd57149f2b7 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Wed, 27 May 2026 17:16:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9D=9F=E6=A8=A1=E5=BC=8F=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E5=9B=9E=E9=BB=98=E8=AE=A4=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/EventCalendarService.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/Services/EventCalendarService.php b/app/Services/EventCalendarService.php index 5f83b96..ed827af 100644 --- a/app/Services/EventCalendarService.php +++ b/app/Services/EventCalendarService.php @@ -212,6 +212,15 @@ class EventCalendarService extends BaseService 'event_calendar.update' ); + // 切换回默认模式 + $pattern_id = EventCalendarService::getTargetModeId(); + if ($pattern_id) { + // 更新车位类型 + $this->syncUpdateSpaceType($pattern_id); + // 记录日志 + AdminNoticeService::addChangeModeNotice($pattern_id, $user_id); + } + DB::commit(); return true; } catch (Exception $e) {