|
...
|
...
|
@@ -189,13 +189,13 @@ class ProjectLogic extends BaseLogic |
|
|
|
if($param['type'] == Project::TYPE_ONE){
|
|
|
|
$param['serve_id'] = 9;
|
|
|
|
}
|
|
|
|
if((($param['type'] == Project::TYPE_TWO) || ($param['type'] == Project::TYPE_THREE)) && empty($param['uptime'])){
|
|
|
|
$param['uptime'] = date('Y-m-d H:i:s');
|
|
|
|
}
|
|
|
|
if($param['type'] == Project::TYPE_FIVE){
|
|
|
|
$param['extend_type'] = Project::TYPE_FIVE;
|
|
|
|
unset($param['type']);
|
|
|
|
}
|
|
|
|
if((($param['type'] == Project::TYPE_TWO) || ($param['type'] == Project::TYPE_THREE)) && empty($param['uptime'])){
|
|
|
|
$param['uptime'] = date('Y-m-d H:i:s');
|
|
|
|
}
|
|
|
|
if(isset($param['level']) && !empty($param['level'])){
|
|
|
|
$param['level'] = Arr::arrToSet($param['level']);
|
|
|
|
}
|
...
|
...
|
|