作者 lyh

gx

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