作者 lyh

gx

... ... @@ -332,8 +332,6 @@ class FileController
//根据项目上传标识区分上传到cos/本地
$projectModel = new Project();
$project_info = $projectModel->read(['id'=>$this->cache['project_id']],['upload_location']);
var_dump($this->cache['project_id']);
die();
$this->upload_location = $project_info['upload_location'];
}
$this->path = $this->uploads['path_b'].'/'.$this->cache['project_id'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m');
... ...