正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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 [ |
-
请 注册 或 登录 后发表评论