|
...
|
...
|
@@ -46,7 +46,7 @@ class BTemplateModuleProjectLogic extends BaseLogic |
|
|
|
public function moduleProjectSave(){
|
|
|
|
try {
|
|
|
|
$this->param['operator_id'] = $this->user['id'];
|
|
|
|
$this->param['project_id'] = $this->user['project_id'];
|
|
|
|
$this->param['project_id'] = isset($this->param['project_id']) ? $this->param['project_id'] : $this->user['project_id'];
|
|
|
|
$this->model->add($this->param);
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->fail('系统错误,请联系管理员');
|
...
|
...
|
|