|
...
|
...
|
@@ -109,6 +109,9 @@ class BaseLogic extends Logic |
|
|
|
if($image_hash !== false){
|
|
|
|
return $hash;
|
|
|
|
}
|
|
|
|
$this->config = config('filesystems.disks.upload');
|
|
|
|
$this->uploads = config('upload.default_image');
|
|
|
|
$this->path = $this->config['root'].$this->uploads['path'].'/';
|
|
|
|
$url = $this->path;
|
|
|
|
$fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension();
|
|
|
|
$res = $files->move($url,$fileName);
|
...
|
...
|
|