From 3db840812aa2572cad8cafd901a6722b13043d09 Mon Sep 17 00:00:00 2001 From: zuohuaijun Date: Fri, 28 Jun 2024 01:48:13 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=8E=E4=BF=AE=E6=94=B9pptx=E7=9A=84mime?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=8F=8A=E4=B8=8A=E4=BC=A0=E9=BB=98=E8=AE=A4?= =?UTF-8?q?50MB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Admin.NET/Admin.NET.Application/Configuration/Upload.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Admin.NET/Admin.NET.Application/Configuration/Upload.json b/Admin.NET/Admin.NET.Application/Configuration/Upload.json index 85936520..c3ca128b 100644 --- a/Admin.NET/Admin.NET.Application/Configuration/Upload.json +++ b/Admin.NET/Admin.NET.Application/Configuration/Upload.json @@ -3,8 +3,8 @@ "Upload": { "Path": "Upload/{yyyy}/{MM}/{dd}", // 文件上传目录 - "MaxSize": 20480, // 文件最大限制KB:1024*20 - "ContentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif", "image/bmp", "text/plain", "application/pdf", "application/msword", "application/vnd.ms-excel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "video/mp4", "application/wps-office.docx", "application/wps-office.xlsx" ], + "MaxSize": 51200, // 文件最大限制KB:1024*50 + "ContentType": [ "image/jpg", "image/png", "image/jpeg", "image/gif", "image/bmp", "text/plain", "application/pdf", "application/msword", "application/vnd.ms-excel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "video/mp4", "application/wps-office.docx", "application/wps-office.xlsx", "application/wps-office.pptx" ], "EnableMd5": false // 启用文件MDF5验证-防止重复上传 }, "OSSProvider": {