正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -152,7 +152,7 @@ class OnlineController extends BaseController | @@ -152,7 +152,7 @@ class OnlineController extends BaseController | ||
| 152 | $info = $onlineCheckModel->read(['project_id'=>$this->param['project_id']]); | 152 | $info = $onlineCheckModel->read(['project_id'=>$this->param['project_id']]); |
| 153 | if($info === false){ | 153 | if($info === false){ |
| 154 | $this->param['created_manage_id'] = $this->manage['id']; | 154 | $this->param['created_manage_id'] = $this->manage['id']; |
| 155 | - $rs = $this->model->add($this->param); | 155 | + $rs = $onlineCheckModel->add($this->param); |
| 156 | }else{ | 156 | }else{ |
| 157 | $rs = $onlineCheckModel->edit($this->param,['project_id'=>$this->param['project_id']]); | 157 | $rs = $onlineCheckModel->edit($this->param,['project_id'=>$this->param['project_id']]); |
| 158 | } | 158 | } |
-
请 注册 或 登录 后发表评论