|
...
|
...
|
@@ -82,8 +82,10 @@ class ProjectLogic extends BaseLogic |
|
|
|
|
|
|
|
public function getInfo($id)
|
|
|
|
{
|
|
|
|
parent::setWith(['payment', 'deploy_build', 'deploy_optimize', 'online_check']); //删除缓存要添加带with的cache_key
|
|
|
|
return parent::getInfo($id);
|
|
|
|
// parent::setWith(['payment', 'deploy_build', 'deploy_optimize', 'online_check']); //删除缓存要添加带with的cache_key
|
|
|
|
$info = $this->model->with('payment')->with('deploy_build')
|
|
|
|
->with('deploy_optimize')->with('online_check')->where(['id'=>$id])->first();
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function save($param){
|
...
|
...
|
|