分离首页和详情页面

This commit is contained in:
2025-06-17 15:00:32 +08:00
parent 3d8b6a7ac5
commit 678a1c6bf9

View File

@@ -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;
}