dever 6 năm trước cách đây
mục cha
commit
a1b1e76940
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;