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