|
@@ -962,7 +962,7 @@ class ProjectLogic extends BaseLogic |
|
@@ -962,7 +962,7 @@ class ProjectLogic extends BaseLogic |
|
962
|
return $this->success(['message'=>'当前项目已在复制中']);
|
962
|
return $this->success(['message'=>'当前项目已在复制中']);
|
|
963
|
}
|
963
|
}
|
|
964
|
$projectModel = new Project();
|
964
|
$projectModel = new Project();
|
|
965
|
- $projectInfo = $projectModel->read(['old_project_id'=>$this->param['project_id']]);
|
965
|
+ $projectInfo = $projectModel->read(['type'=>0,'old_project_id'=>$this->param['project_id']]);
|
|
966
|
if($projectInfo !== false){
|
966
|
if($projectInfo !== false){
|
|
967
|
return $this->success(['message'=>'当前项目已复制过']);
|
967
|
return $this->success(['message'=>'当前项目已复制过']);
|
|
968
|
}
|
968
|
}
|