From 75e35f52abb9788aae3cbbb268f5c2cd5a7be95e Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Wed, 12 Nov 2025 17:43:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=B8=8A=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/common/controller/Attachment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', ] ]);