|
@@ -80,7 +80,8 @@ class ProjectLogic extends BaseLogic |
|
@@ -80,7 +80,8 @@ class ProjectLogic extends BaseLogic |
|
80
|
// try {
|
80
|
// try {
|
|
81
|
$this->createProjectData($this->param);
|
81
|
$this->createProjectData($this->param);
|
|
82
|
//保存项目信息
|
82
|
//保存项目信息
|
|
83
|
- $this->saveProject($this->param);
|
83
|
+ $rs = $this->saveProject($this->param);
|
|
|
|
84
|
+ return $rs;
|
|
84
|
//保存建站部署信息
|
85
|
//保存建站部署信息
|
|
85
|
$this->saveProjectDeployBuild($this->param['deploy_build']);
|
86
|
$this->saveProjectDeployBuild($this->param['deploy_build']);
|
|
86
|
//保存付费信息
|
87
|
//保存付费信息
|
|
@@ -127,7 +128,8 @@ class ProjectLogic extends BaseLogic |
|
@@ -127,7 +128,8 @@ class ProjectLogic extends BaseLogic |
|
127
|
}
|
128
|
}
|
|
128
|
$param['confirm_file'] = Arr::a2s($param['confirm_file']);
|
129
|
$param['confirm_file'] = Arr::a2s($param['confirm_file']);
|
|
129
|
}
|
130
|
}
|
|
130
|
- $this->model->edit($param,['id'=>$param['id']]);
|
131
|
+ $rs = $this->model->edit($param,['id'=>$param['id']]);
|
|
|
|
132
|
+ return $rs;
|
|
131
|
Common::del_user_cache($this->model->getTable(),$param['id']);
|
133
|
Common::del_user_cache($this->model->getTable(),$param['id']);
|
|
132
|
return $this->success();
|
134
|
return $this->success();
|
|
133
|
}
|
135
|
}
|