From b927b5443f1a52d6ec8fdcb8849d4246a912bec1 Mon Sep 17 00:00:00 2001 From: Karson Date: Wed, 3 Jul 2019 23:24:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF=E7=9A=84mi?= =?UTF-8?q?metype=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/extra/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/extra/upload.php b/application/extra/upload.php index e04fd0ca..5bfa25d0 100644 --- a/application/extra/upload.php +++ b/application/extra/upload.php @@ -21,7 +21,7 @@ return [ /** * 可上传的文件类型 */ - 'mimetype' => '*', + 'mimetype' => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx', /** * 是否支持批量上传 */