分离首页和详情页面
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user