dever 4 년 전
부모
커밋
6e14ffcef0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'])) {
 
-            $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()));
             
             if (!$this->limit) {