作者 lyh

gx

... ... @@ -48,7 +48,7 @@ class ProjectLogic extends BaseLogic
*/
public function getProjectInfo($id){
// $info = Common::get_user_cache($this->model->getTable(),$id);
if(empty($info)){
// if(empty($info)){
$info = $this->model->with('payment')->with('deploy_build')->with('deploy_optimize')->with('online_check')
->with('project_after')->where(['id'=>$id])->first()->toArray();
if(!empty($info['online_check']['created_manage_id'])){
... ... @@ -64,7 +64,7 @@ class ProjectLogic extends BaseLogic
$info['type'] = $info['extend_type'];
}
// Common::set_user_cache($info,$this->model->getTable(),$id);
}
// }
return $this->success($info);
}
... ...