|
...
|
...
|
@@ -66,7 +66,7 @@ class KeywordLogic extends BaseLogic |
|
|
|
}else{
|
|
|
|
$info = $this->model->read(['title'=>$this->param['title']]);
|
|
|
|
if($info !== false){
|
|
|
|
$this->fail('当前title已存在');
|
|
|
|
return $this->success(['id'=>$info['id']]);
|
|
|
|
}
|
|
|
|
$this->param = $this->addHandleParam($this->param);
|
|
|
|
$id = $this->model->insertGetId($this->param);
|
...
|
...
|
|