|
...
|
...
|
@@ -62,8 +62,8 @@ class KeywordLogic extends BaseLogic |
|
|
|
$id = $this->model->insertGetId($this->param);
|
|
|
|
//路由映射
|
|
|
|
$route = RouteMap::setRoute($this->param['title'], RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']);
|
|
|
|
$this->model->edit(['route'=>$route],['id'=>$id]);
|
|
|
|
}
|
|
|
|
$this->model->edit(['route'=>$route],['id'=>$id]);
|
|
|
|
//清除缓存
|
|
|
|
Common::del_user_cache('product_keyword',$this->user['project_id']);
|
|
|
|
DB::commit();
|
...
|
...
|
|