|
@@ -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{
|