dever 4 years ago
parent
commit
6e14ffcef0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Store/Oss.php

+ 1 - 1
lib/Store/Oss.php

@@ -50,7 +50,7 @@ class Oss extends Core implements Config
 
 
         if (isset($ret['info']['url'])) {
         if (isset($ret['info']['url'])) {
 
 
-            $this->file = $ret['info']['url'];
+            $this->file = $this->output['url'];
             $file = Dever::load('upload/file-name', array('where_name' => $this->name, 'where_upload' => $this->data['key'], 'rand' => time()));
             $file = Dever::load('upload/file-name', array('where_name' => $this->name, 'where_upload' => $this->data['key'], 'rand' => time()));
             
             
             if (!$this->limit) {
             if (!$this->limit) {