|
...
|
...
|
@@ -55,7 +55,6 @@ class KeywordLogic extends BaseLogic |
|
|
|
// DB::beginTransaction();
|
|
|
|
// try {
|
|
|
|
$this->param = $this->handleSaveParam($this->param);
|
|
|
|
|
|
|
|
if(isset($this->param['id']) && !empty($this->param['id'])){
|
|
|
|
//TODO::不能修改路由
|
|
|
|
$this->model->edit($this->param,['id'=>$this->param['id']]);
|
|
...
|
...
|
@@ -74,8 +73,8 @@ class KeywordLogic extends BaseLogic |
|
|
|
// DB::rollBack();
|
|
|
|
// $this->fail('保存失败');
|
|
|
|
// }
|
|
|
|
// $this->addUpdateNotify(RouteMap::SOURCE_PRODUCT_KEYWORD,$route);
|
|
|
|
// $this->curlDelRoute(['new_route'=>$route]);
|
|
|
|
$this->addUpdateNotify(RouteMap::SOURCE_PRODUCT_KEYWORD,$route);
|
|
|
|
$this->curlDelRoute(['new_route'=>$route]);
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|