From fec21131f5d8169d9ca496ce15ecfc2d1b389373 Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Mon, 19 May 2025 13:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/VehicleController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/VehicleController.php b/app/controller/VehicleController.php index c2241a6..d4de57e 100644 --- a/app/controller/VehicleController.php +++ b/app/controller/VehicleController.php @@ -107,14 +107,14 @@ class VehicleController $vehicle->fbo_destination = isset($arr[$vehicle->fbo_locations_id]) ? $arr[$vehicle->fbo_locations_id]['name'] : ''; $vehicle->status = $this->status[$vehicle->status]??$this->status[0]; if(!str_starts_with($vehicle['img_url'], 'http')){ - $img_url = Cache::get('img_'.$vehicle->id); + $img_url = Cache::get('img_dibai_'.$vehicle->id); if ($img_url) { $vehicle['img_url'] = $img_url; } else { $ossservice = new OssService(); $img_url = $ossservice->generatePrivateUrl($vehicle['img_url'],86400); $vehicle['img_url'] = $img_url; - Cache::set('img_'.$vehicle->id, $img_url, 86390); + Cache::set('img_dibai_'.$vehicle->id, $img_url, 86390); } } }