From 678a1c6bf954ec5e5587d5acee41889f50be58cf Mon Sep 17 00:00:00 2001 From: lq Date: Tue, 17 Jun 2025 15:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=A6=BB=E9=A6=96=E9=A1=B5=E5=92=8C?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/ImageService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/ImageService.php b/app/Service/ImageService.php index 35b8e6f5..67e33fd4 100644 --- a/app/Service/ImageService.php +++ b/app/Service/ImageService.php @@ -46,8 +46,8 @@ class ImageService */ protected function storeOriginalImage($imageFile) { - dd($imageFile); $path = 'images/original/' . Str::random(40) . '.' . $imageFile->getClientOriginalExtension(); + dd([$imageFile, $path]); Storage::put($path, file_get_contents($imageFile)); return $path; }