正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -332,8 +332,6 @@ class FileController | @@ -332,8 +332,6 @@ class FileController | ||
| 332 | //根据项目上传标识区分上传到cos/本地 | 332 | //根据项目上传标识区分上传到cos/本地 |
| 333 | $projectModel = new Project(); | 333 | $projectModel = new Project(); |
| 334 | $project_info = $projectModel->read(['id'=>$this->cache['project_id']],['upload_location']); | 334 | $project_info = $projectModel->read(['id'=>$this->cache['project_id']],['upload_location']); |
| 335 | - var_dump($this->cache['project_id']); | ||
| 336 | - die(); | ||
| 337 | $this->upload_location = $project_info['upload_location']; | 335 | $this->upload_location = $project_info['upload_location']; |
| 338 | } | 336 | } |
| 339 | $this->path = $this->uploads['path_b'].'/'.$this->cache['project_id'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m'); | 337 | $this->path = $this->uploads['path_b'].'/'.$this->cache['project_id'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m'); |
-
请 注册 或 登录 后发表评论