|
...
|
...
|
@@ -242,7 +242,7 @@ class ProjectLogic extends BaseLogic |
|
|
|
//查看当前项目状态是否为初始项目
|
|
|
|
$info = $this->model->read(['id'=>$param['id']]);
|
|
|
|
//项目为初始项目时,只能选择建站中
|
|
|
|
if($info['type'] == Project::TYPE_ZERO){
|
|
|
|
if(($info['type'] == Project::TYPE_ZERO) && ($info['type'] != Project::TYPE_FIVE)){
|
|
|
|
$param['type'] = Project::TYPE_ONE;
|
|
|
|
}
|
|
|
|
//创建默认数据库
|
...
|
...
|
|