From 268da6e47cdb58c9e112a957671ad20933457260 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Thu, 13 Nov 2025 16:09:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E6=94=B9=E4=B8=BA50MB?= 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 f7021a2b..39e7984f 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' => 50485760, // 10MB + 'fileSize' => 50485760, // 50MB 'fileExt' => 'jpg,jpeg,png,gif,doc,docx,pdf,zip,rar,mp4,mp3,csv,xlsx,xls,ppt,pptx,txt', ] ]);