作者 lyh

gx

@@ -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');