作者 lyh

gx

@@ -164,7 +164,7 @@ class ProjectLogic extends BaseLogic @@ -164,7 +164,7 @@ class ProjectLogic extends BaseLogic
164 } 164 }
165 165
166 public function syncImageFile($location,$project_id){ 166 public function syncImageFile($location,$project_id){
167 - if($location == 2){ 167 + if($location == 1){
168 CopyImageFile::dispatch(['project_id'=>$project_id]); 168 CopyImageFile::dispatch(['project_id'=>$project_id]);
169 } 169 }
170 return $this->success(); 170 return $this->success();