dever 4 سال پیش
والد
کامیت
1b2f56309c
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 2 2
      lib/Store/Oss.php
  2. 1 1
      lib/Store/Qiniu.php

+ 2 - 2
lib/Store/Oss.php

@@ -168,7 +168,7 @@ class Oss extends Core implements Config
                 $prefix = '?';
             }
 
-            $dest = $source . $prefix . '?x-oss-process=image/resize,m_lfit,w_'.$config['width'].',h_' . $config['height'];
+            $dest = $source . $prefix . 'x-oss-process=image/resize,m_lfit,w_'.$config['width'].',h_' . $config['height'];
 
             if (isset($config['compress']) && $config['compress'] > 0) {
                 $dest .= ',q_' . $config['compress'];
@@ -203,7 +203,7 @@ class Oss extends Core implements Config
                 $prefix = '?';
             }
 
-            $dest = $source . $prefix . '?x-oss-process=image/resize,fill,w_'.$config['width'].',h_' . $config['height'];
+            $dest = $source . $prefix . 'x-oss-process=image/resize,fill,w_'.$config['width'].',h_' . $config['height'];
         }
         return $dest;
     }

+ 1 - 1
lib/Store/Qiniu.php

@@ -167,7 +167,7 @@ class Qiniu extends Core implements Config
             } else {
                 $prefix = '?';
             }
-            $dest = $source . $prefix . '?imageView2/2/w/'.$config['width'].'/h/'.$config['height'];
+            $dest = $source . $prefix . 'imageView2/2/w/'.$config['width'].'/h/'.$config['height'];
 
             if (isset($config['compress']) && $config['compress'] > 0) {
                 $dest .= '/q/' . $config['compress'];