分离首页和详情页面

This commit is contained in:
2025-06-17 14:59:07 +08:00
parent 932c1f4e46
commit 3d8b6a7ac5

View File

@@ -46,6 +46,7 @@ class ImageService
*/
protected function storeOriginalImage($imageFile)
{
dd($imageFile);
$path = 'images/original/' . Str::random(40) . '.' . $imageFile->getClientOriginalExtension();
Storage::put($path, file_get_contents($imageFile));
return $path;