diff --git a/Server/application/common/controller/Attachment.php b/Server/application/common/controller/Attachment.php index 7a2973bf..f7021a2b 100644 --- a/Server/application/common/controller/Attachment.php +++ b/Server/application/common/controller/Attachment.php @@ -27,7 +27,7 @@ class Attachment extends Controller // 验证文件 $validate = \think\facade\Validate::rule([ 'file' => [ - 'fileSize' => 10485760, // 10MB + 'fileSize' => 50485760, // 10MB 'fileExt' => 'jpg,jpeg,png,gif,doc,docx,pdf,zip,rar,mp4,mp3,csv,xlsx,xls,ppt,pptx,txt', ] ]);