正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -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 |
-
请 注册 或 登录 后发表评论