diff --git a/application/admin/controller/system/SystemAttachment.php b/application/admin/controller/system/SystemAttachment.php old mode 100644 new mode 100755 index b17cdb37..e6028b12 --- a/application/admin/controller/system/SystemAttachment.php +++ b/application/admin/controller/system/SystemAttachment.php @@ -24,7 +24,6 @@ class SystemAttachment extends AuthController if($res->status==false && $res->error){ exit(json_encode(['state'=>$res->error])); } - $fileInfo = $res->fileInfo->getinfo(); //产品图片上传记录 $fileInfo = $res->fileInfo->getinfo(); SystemAttachmentModel::attachmentAdd($res->fileInfo->getSaveName(),$fileInfo['size'],$fileInfo['type'],$res->dir,'',0);