重构系统附件字段逻辑

修改各模块附件功能
This commit is contained in:
2021-03-21 05:07:01 +08:00
parent fb37c7110b
commit decaabd448
45 changed files with 656 additions and 1513 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ class Image
{
// 原文件不存在
if (!is_file($file)) {
throw new Exception('原文件不存在。');
throw new \Exception('原文件不存在。');
}
$temp = getimagesize($file);
$this->srcw = $srcw = $temp[0];