dever 6 anos atrás
pai
commit
a1b1e76940
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Qiniu.php

+ 1 - 1
src/Qiniu.php

@@ -43,7 +43,7 @@ class Qiniu
         $data['name'] = $name;
         $data['file'] = $file;
         $data['key'] = md5($file);
-        $data['ext'] = $ext;
+        $data['ext'] = '.' . $ext;
 
         if ($width) {
             $data['width'] = $width;