zxhxx 3 years ago
parent
commit
a65f722a18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/extra/upload.php

+ 1 - 1
application/extra/upload.php

@@ -21,7 +21,7 @@ return [
     /**
      * 可上传的文件类型
      */
-    'mimetype'  => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,wav,mp4,mp3,pdf,pem',
+    'mimetype'  => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,wav,mp4,mp3,pdf,pem,doc,docx,xls,xlsx',
     /**
      * 是否支持批量上传
      */