dever 4 years ago
parent
commit
cb581d2d87
2 changed files with 2 additions and 2 deletions
  1. 1 1
      lib/Store/Oss.php
  2. 1 1
      lib/Store/Qiniu.php

+ 1 - 1
lib/Store/Oss.php

@@ -88,7 +88,7 @@ class Oss extends Core implements Config
 
         $this->output['file'] = $this->file;
         $this->output['url'] = $this->host . $this->file;
-        $this->output['url'] = '{uploadYun}_'.$this->config['yun'].'_' . $this->file;
+        $this->output['url'] = '{uploadYun}['.$this->config['yun'].']' . $this->file;
         return $this->output['file'];
     }
     

+ 1 - 1
lib/Store/Qiniu.php

@@ -85,7 +85,7 @@ class Qiniu extends Core implements Config
 
         $this->output['file'] = $this->file;
         $this->output['url'] = $this->host . $this->file;
-        $this->output['url'] = '{uploadYun}_'.$this->config['yun'].'_' . $this->file;
+        $this->output['url'] = '{uploadYun}['.$this->config['yun'].']' . $this->file;
         return $this->output['file'];
     }