作者 lyh

gx

@@ -110,8 +110,6 @@ class ProjectLogic extends BaseLogic @@ -110,8 +110,6 @@ class ProjectLogic extends BaseLogic
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 - var_dump($info);  
114 - die();  
115 if(empty($info)){ 113 if(empty($info)){
116 $info = $this->model->with('payment')->with('deploy_build') 114 $info = $this->model->with('payment')->with('deploy_build')
117 ->with('deploy_optimize')->with('online_check') 115 ->with('deploy_optimize')->with('online_check')
@@ -121,6 +119,8 @@ class ProjectLogic extends BaseLogic @@ -121,6 +119,8 @@ class ProjectLogic extends BaseLogic
121 if($info['extend_type'] != 0){ 119 if($info['extend_type'] != 0){
122 $info['type'] = $info['extend_type']; 120 $info['type'] = $info['extend_type'];
123 } 121 }
  122 + var_dump($info);
  123 + die();
124 Common::set_user_cache($info,$this->model,$id); 124 Common::set_user_cache($info,$this->model,$id);
125 } 125 }
126 return $this->success($info); 126 return $this->success($info);