作者 lyh

gx

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