作者 lyh

gx

@@ -129,7 +129,6 @@ class FileController @@ -129,7 +129,6 @@ class FileController
129 if($file_hash !== false){ 129 if($file_hash !== false){
130 return $this->response('资源',Code::SUCCESS,['file'=>$hash,'file_link'=>$this->getFileUrl($fileModel,$hash)]); 130 return $this->response('资源',Code::SUCCESS,['file'=>$hash,'file_link'=>$this->getFileUrl($fileModel,$hash)]);
131 } 131 }
132 - $this->path = '/files';  
133 $url = $this->config['root'].$this->path; 132 $url = $this->config['root'].$this->path;
134 $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); 133 $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension();
135 //同步数据到cos 134 //同步数据到cos