From aec39ac732ee444606e9fd837fd59a7660405708 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Fri, 3 Jul 2026 17:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=8D=A0=E7=94=A8=E5=A4=84?= =?UTF-8?q?=E7=90=86=E5=90=8E=E4=B8=8D=E6=98=BE=E7=A4=BA=20=E5=BF=BD?= =?UTF-8?q?=E7=95=A5=E5=92=8C=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/ParkingAbnormal.php | 2 +- app/Services/ParkingAbnormalService.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Models/ParkingAbnormal.php b/app/Models/ParkingAbnormal.php index d6e7c44..2171194 100644 --- a/app/Models/ParkingAbnormal.php +++ b/app/Models/ParkingAbnormal.php @@ -29,7 +29,7 @@ class ParkingAbnormal extends Model protected $hidden = [ 'created_at', - 'update_at' + 'updated_at' ]; public function getEnterAtAttribute($value): string diff --git a/app/Services/ParkingAbnormalService.php b/app/Services/ParkingAbnormalService.php index f789b57..426024d 100644 --- a/app/Services/ParkingAbnormalService.php +++ b/app/Services/ParkingAbnormalService.php @@ -83,6 +83,7 @@ class ParkingAbnormalService extends BaseService $typeArr = $this->getType(); $item['type'] = $typeArr[$item['type']]; $statusArr = $this->getStatus(); + $item['status_index'] = $item['status']; $item['status'] = $statusArr[$item['status']]; $operationTypeArr = $this->getOperationType(); $item['operation_type'] = $operationTypeArr[$item['operation_type']] ??