正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -46,7 +46,7 @@ class BTemplateModuleProjectLogic extends BaseLogic | @@ -46,7 +46,7 @@ class BTemplateModuleProjectLogic extends BaseLogic | ||
| 46 | public function moduleProjectSave(){ | 46 | public function moduleProjectSave(){ |
| 47 | try { | 47 | try { |
| 48 | $this->param['operator_id'] = $this->user['id']; | 48 | $this->param['operator_id'] = $this->user['id']; |
| 49 | - $this->param['project_id'] = $this->user['project_id']; | 49 | + $this->param['project_id'] = isset($this->param['project_id']) ? $this->param['project_id'] : $this->user['project_id']; |
| 50 | $this->model->add($this->param); | 50 | $this->model->add($this->param); |
| 51 | }catch (\Exception $e){ | 51 | }catch (\Exception $e){ |
| 52 | $this->fail('系统错误,请联系管理员'); | 52 | $this->fail('系统错误,请联系管理员'); |
-
请 注册 或 登录 后发表评论