正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -48,7 +48,7 @@ class ProjectLogic extends BaseLogic | @@ -48,7 +48,7 @@ class ProjectLogic extends BaseLogic | ||
| 48 | */ | 48 | */ |
| 49 | public function getProjectInfo($id){ | 49 | public function getProjectInfo($id){ |
| 50 | // $info = Common::get_user_cache($this->model->getTable(),$id); | 50 | // $info = Common::get_user_cache($this->model->getTable(),$id); |
| 51 | - if(empty($info)){ | 51 | +// if(empty($info)){ |
| 52 | $info = $this->model->with('payment')->with('deploy_build')->with('deploy_optimize')->with('online_check') | 52 | $info = $this->model->with('payment')->with('deploy_build')->with('deploy_optimize')->with('online_check') |
| 53 | ->with('project_after')->where(['id'=>$id])->first()->toArray(); | 53 | ->with('project_after')->where(['id'=>$id])->first()->toArray(); |
| 54 | if(!empty($info['online_check']['created_manage_id'])){ | 54 | if(!empty($info['online_check']['created_manage_id'])){ |
| @@ -64,7 +64,7 @@ class ProjectLogic extends BaseLogic | @@ -64,7 +64,7 @@ class ProjectLogic extends BaseLogic | ||
| 64 | $info['type'] = $info['extend_type']; | 64 | $info['type'] = $info['extend_type']; |
| 65 | } | 65 | } |
| 66 | // Common::set_user_cache($info,$this->model->getTable(),$id); | 66 | // Common::set_user_cache($info,$this->model->getTable(),$id); |
| 67 | - } | 67 | +// } |
| 68 | return $this->success($info); | 68 | return $this->success($info); |
| 69 | } | 69 | } |
| 70 | 70 |
-
请 注册 或 登录 后发表评论