|
...
|
...
|
@@ -34,10 +34,11 @@ class KeywordPrefixLogic extends BaseLogic |
|
|
|
$data = [
|
|
|
|
'project_id'=>$this->param['project_id'] ?? 0,
|
|
|
|
'keyword'=>$v,
|
|
|
|
'type'=>$this->param['type']
|
|
|
|
'type'=>$this->param['type'],
|
|
|
|
];
|
|
|
|
$prefixInfo = $this->model->read($data);
|
|
|
|
if($prefixInfo == false){
|
|
|
|
$data['remark'] = $this->param['remark'] ?? '';
|
|
|
|
$this->model->add($data);
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|