正在显示
1 个修改的文件
包含
9 行增加
和
9 行删除
| @@ -100,15 +100,15 @@ class ProjectLogic extends BaseLogic | @@ -100,15 +100,15 @@ class ProjectLogic extends BaseLogic | ||
| 100 | public function getProjectInfo($id){ | 100 | public function getProjectInfo($id){ |
| 101 | $info = $this->model->with('payment')->with('deploy_build') | 101 | $info = $this->model->with('payment')->with('deploy_build') |
| 102 | ->with('deploy_optimize')->with('online_check')->where(['id'=>$id])->first(); | 102 | ->with('deploy_optimize')->with('online_check')->where(['id'=>$id])->first(); |
| 103 | - if(isset($info['online_check']['created_manage_id']) && !empty($info['online_check']['created_manage_id'])){ | ||
| 104 | - $info['online_check']['name'] = ManageLogic::getCacheName($info['online_check']['created_manage_id']); | ||
| 105 | - } | ||
| 106 | - if(isset($info['serve_id']) && !empty($info['serve_id'])){ | ||
| 107 | - $info['serve_id_name'] = (new ServerConfig())->read(['id'=>$info['serve_id']])['title']; | ||
| 108 | - } | ||
| 109 | - if(isset($info['serve_id']) && !empty($info['mysql_id'])){ | ||
| 110 | - $info['mysql_id_name'] = (new ServerConfig())->read(['id'=>$info['mysql_id']])['title']; | ||
| 111 | - } | 103 | +// if(isset($info['online_check']['created_manage_id']) && !empty($info['online_check']['created_manage_id'])){ |
| 104 | +// $info['online_check']['name'] = ManageLogic::getCacheName($info['online_check']['created_manage_id']); | ||
| 105 | +// } | ||
| 106 | +// if(isset($info['serve_id']) && !empty($info['serve_id'])){ | ||
| 107 | +// $info['serve_id_name'] = (new ServerConfig())->read(['id'=>$info['serve_id']])['title']; | ||
| 108 | +// } | ||
| 109 | +// if(isset($info['mysql_id']) && !empty($info['mysql_id'])){ | ||
| 110 | +// $info['mysql_id_name'] = (new ServerConfig())->read(['id'=>$info['mysql_id']])['title']; | ||
| 111 | +// } | ||
| 112 | return $this->success($info); | 112 | return $this->success($info); |
| 113 | } | 113 | } |
| 114 | public function save($param){ | 114 | public function save($param){ |
-
请 注册 或 登录 后发表评论