ZxcZxc123 1 year ago
parent
commit
0d919d856d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/utils/Qiniu.php

+ 1 - 1
library/utils/Qiniu.php

@@ -205,7 +205,7 @@ class Qiniu {
      * @param type $ext 限制后缀名
      * @return boolean
      */
-    public function updateFile($path,$name,$files,$ext = array('jpg','png','gif','webp','mp3')) {
+    public function updateFile($path,$name,$files,$ext = array('jpg','png','gif','webp')) {
         if (empty($files)) {
             $this->error = '没有上传的文件!';
             return false;