😎修改pptx的mime类型及上传默认50MB

This commit is contained in:
zuohuaijun 2024-06-28 01:48:13 +08:00
parent b6a190d6a5
commit 3db840812a

View File

@ -3,8 +3,8 @@
"Upload": { "Upload": {
"Path": "Upload/{yyyy}/{MM}/{dd}", // "Path": "Upload/{yyyy}/{MM}/{dd}", //
"MaxSize": 20480, // KB1024*20 "MaxSize": 51200, // KB1024*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.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "video/mp4", "application/wps-office.docx", "application/wps-office.xlsx" ], "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- "EnableMd5": false // MDF5-
}, },
"OSSProvider": { "OSSProvider": {