|
...
|
...
|
@@ -114,7 +114,7 @@ class FileManageController extends BaseController |
|
|
|
$hash = hash_file('md5', $file->getPathname());
|
|
|
|
$info = FileManage::where('hash', $hash)->first();
|
|
|
|
if($info){
|
|
|
|
$this->fail('文件已存在');
|
|
|
|
$this->fail('文件已存在'.$hash);
|
|
|
|
}
|
|
|
|
|
|
|
|
return [
|
...
|
...
|
|