|
...
|
...
|
@@ -237,6 +237,9 @@ class KeywordLogic extends BaseLogic |
|
|
|
$productModel = new Product();
|
|
|
|
foreach ($this->param['title'] as $v){
|
|
|
|
$info = $this->model->read(['title'=>$v]);
|
|
|
|
if($info === false){
|
|
|
|
$info = $this->model->read(['route'=>$v]);
|
|
|
|
}
|
|
|
|
if($info){
|
|
|
|
$this->delRoute($info['id']);
|
|
|
|
$this->model->del(['id'=>$info['id']]);
|
...
|
...
|
|