From 515da0c87e14c9b7c8731906fa228c382d3373ae Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Tue, 28 Apr 2026 09:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BF=BB=E8=AF=91=E6=96=87?= =?UTF-8?q?=E5=AD=97=E6=97=A5=E5=BF=97=E5=86=99=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Imports/ParkingLicensePlateImport.php | 3 ++- app/Imports/ParkingVipListImport.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Imports/ParkingLicensePlateImport.php b/app/Imports/ParkingLicensePlateImport.php index 960b92d..3793bbd 100644 --- a/app/Imports/ParkingLicensePlateImport.php +++ b/app/Imports/ParkingLicensePlateImport.php @@ -18,6 +18,7 @@ class ParkingLicensePlateImport implements ToModel, WithHeadingRow public function __construct() { $this->logService = new OperationLogService(); + $this->logService->menuTitle = 'cat_attr'; } /** @@ -42,7 +43,7 @@ class ParkingLicensePlateImport implements ToModel, WithHeadingRow 'space_type_id' => $data[1], 'created_at' => get_datetime() ]); - $this->logService->logCreated($model, '创建车牌号码'); + $this->logService->logCreated($model, 'license_plate.create'); return $model; } return new ParkingLicensePlate(); diff --git a/app/Imports/ParkingVipListImport.php b/app/Imports/ParkingVipListImport.php index 7df1611..97b0c57 100644 --- a/app/Imports/ParkingVipListImport.php +++ b/app/Imports/ParkingVipListImport.php @@ -19,6 +19,7 @@ class ParkingVipListImport implements ToModel, WithHeadingRow public function __construct() { $this->logService = new OperationLogService(); + $this->logService->menuTitle = 'vip_list'; } /** @@ -36,7 +37,7 @@ class ParkingVipListImport implements ToModel, WithHeadingRow 'user_id' => Auth::guard('sanctum')->user()['id'], 'created_at' => get_datetime() ]); - $this->logService->logCreated($model, '创建VIP名单'); + $this->logService->logCreated($model, 'vip_list.create'); return $model; } break;