作者 lyh

gx

@@ -109,7 +109,7 @@ class ProjectLogic extends BaseLogic @@ -109,7 +109,7 @@ class ProjectLogic extends BaseLogic
109 * @time :2023/7/28 17:11 109 * @time :2023/7/28 17:11
110 */ 110 */
111 public function getProjectInfo($id){ 111 public function getProjectInfo($id){
112 -// $info = Common::get_user_cache($this->model,$id); 112 + $info = Common::get_user_cache($this->model,$id);
113 if(empty($info)){ 113 if(empty($info)){
114 $info = $this->model->with('payment')->with('deploy_build') 114 $info = $this->model->with('payment')->with('deploy_build')
115 ->with('deploy_optimize')->with('online_check') 115 ->with('deploy_optimize')->with('online_check')
@@ -121,7 +121,7 @@ class ProjectLogic extends BaseLogic @@ -121,7 +121,7 @@ class ProjectLogic extends BaseLogic
121 } 121 }
122 Common::set_user_cache($info,$this->model,$id); 122 Common::set_user_cache($info,$this->model,$id);
123 } 123 }
124 - return $this->success((array)$info); 124 + return $this->success($info);
125 } 125 }
126 126
127 /** 127 /**