|
...
|
...
|
@@ -44,6 +44,7 @@ class WebSettingLogic extends BaseLogic |
|
|
|
//查看数据是否存在
|
|
|
|
$info = $this->model->read(['project_id'=>$this->user['project_id']]);
|
|
|
|
if($info === false){
|
|
|
|
$this->param['operator_id'] = $this->user['id'];
|
|
|
|
$this->param['project_id'] = $this->user['project_id'];
|
|
|
|
$rs = $this->model->add($this->param);
|
|
|
|
}else{
|
...
|
...
|
|