作者 lyh

gx

... ... @@ -150,7 +150,7 @@ class ProjectLogic extends BaseLogic
//保存询盘过滤配置
// $this->param['inquiry_filter_config']['project_id'] = $this->param['id'];
// $this->saveInquiryFilterConfig($this->param['inquiry_filter_config']);
$this->syncImageFile($this->param['project_location'],$this->param['id']);
//创建站点
// $this->createSite($this->param);
}
... ... @@ -163,9 +163,9 @@ class ProjectLogic extends BaseLogic
return $this->success();
}
public function syncImageFile($location){
public function syncImageFile($location,$project_id){
if($location == 2){
CopyImageFile::dispatch(['project_id'=>$this->param['project_id']]);
CopyImageFile::dispatch(['project_id'=>$project_id]);
}
return $this->success();
}
... ...