正在显示
3 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -44,6 +44,7 @@ class WebSettingLogic extends BaseLogic | @@ -44,6 +44,7 @@ class WebSettingLogic extends BaseLogic | ||
| 44 | //查看数据是否存在 | 44 | //查看数据是否存在 |
| 45 | $info = $this->model->read(['project_id'=>$this->user['project_id']]); | 45 | $info = $this->model->read(['project_id'=>$this->user['project_id']]); |
| 46 | if($info === false){ | 46 | if($info === false){ |
| 47 | + $this->param['operator_id'] = $this->user['id']; | ||
| 47 | $this->param['project_id'] = $this->user['project_id']; | 48 | $this->param['project_id'] = $this->user['project_id']; |
| 48 | $rs = $this->model->add($this->param); | 49 | $rs = $this->model->add($this->param); |
| 49 | }else{ | 50 | }else{ |
-
请 注册 或 登录 后发表评论