正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -189,13 +189,13 @@ class ProjectLogic extends BaseLogic | @@ -189,13 +189,13 @@ class ProjectLogic extends BaseLogic | ||
| 189 | if($param['type'] == Project::TYPE_ONE){ | 189 | if($param['type'] == Project::TYPE_ONE){ |
| 190 | $param['serve_id'] = 9; | 190 | $param['serve_id'] = 9; |
| 191 | } | 191 | } |
| 192 | + if((($param['type'] == Project::TYPE_TWO) || ($param['type'] == Project::TYPE_THREE)) && empty($param['uptime'])){ | ||
| 193 | + $param['uptime'] = date('Y-m-d H:i:s'); | ||
| 194 | + } | ||
| 192 | if($param['type'] == Project::TYPE_FIVE){ | 195 | if($param['type'] == Project::TYPE_FIVE){ |
| 193 | $param['extend_type'] = Project::TYPE_FIVE; | 196 | $param['extend_type'] = Project::TYPE_FIVE; |
| 194 | unset($param['type']); | 197 | unset($param['type']); |
| 195 | } | 198 | } |
| 196 | - if((($param['type'] == Project::TYPE_TWO) || ($param['type'] == Project::TYPE_THREE)) && empty($param['uptime'])){ | ||
| 197 | - $param['uptime'] = date('Y-m-d H:i:s'); | ||
| 198 | - } | ||
| 199 | if(isset($param['level']) && !empty($param['level'])){ | 199 | if(isset($param['level']) && !empty($param['level'])){ |
| 200 | $param['level'] = Arr::arrToSet($param['level']); | 200 | $param['level'] = Arr::arrToSet($param['level']); |
| 201 | } | 201 | } |
-
请 注册 或 登录 后发表评论