正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -62,6 +62,7 @@ class CustomModuleLogic extends BaseLogic | @@ -62,6 +62,7 @@ class CustomModuleLogic extends BaseLogic | ||
| 62 | * @time :2023/12/5 9:39 | 62 | * @time :2023/12/5 9:39 |
| 63 | */ | 63 | */ |
| 64 | public function moduleAdd(){ | 64 | public function moduleAdd(){ |
| 65 | + $this->param['project_id'] = $this->user['project_id']; | ||
| 65 | $rs = $this->model->add($this->param); | 66 | $rs = $this->model->add($this->param); |
| 66 | if($rs === false){ | 67 | if($rs === false){ |
| 67 | $this->fail('系统错误,请联系管理员'); | 68 | $this->fail('系统错误,请联系管理员'); |
-
请 注册 或 登录 后发表评论