“升级TP6.3.0

This commit is contained in:
win10 committed 2020-07-01 13:05:40 +08:00
1 parent 65f62275a1
commit c3317b9b79
92 files changed
+1662 -627

No files matched your search

+8 -1
View File
@@ -74,7 +74,14 @@ class Fields extends BaseController
}
$url = public_path() . 'public\\uploads\\' . $filist->url;
return download($url, $oldname);
$data = file_exists($url);
if ($data === true) {
return download($url, $oldname);
} else {
return $this->error('文件不存在!');
}
}