|
...
|
...
|
@@ -151,7 +151,7 @@ class OnlineController extends BaseController |
|
|
|
$onlineCheckModel = new OnlineCheck();
|
|
|
|
$info = $onlineCheckModel->read(['project_id'=>$this->param['project_id']]);
|
|
|
|
if($info === false){
|
|
|
|
$this->param['created_manage_id'] = $this->manager['id'];
|
|
|
|
$this->param['created_manage_id'] = $this->manage['id'];
|
|
|
|
$rs = $this->model->add($this->param);
|
|
|
|
}else{
|
|
|
|
$rs = $onlineCheckModel->edit($this->param,['project_id'=>$this->param['project_id']]);
|
...
|
...
|
|