|
...
|
...
|
@@ -71,7 +71,7 @@ class KeywordLogic extends BaseLogic |
|
|
|
DB::commit();
|
|
|
|
}catch (\Exception $e){
|
|
|
|
DB::rollBack();
|
|
|
|
$this->fail('保存失败');
|
|
|
|
$this->fail('保存失败,请连续管理员');
|
|
|
|
}
|
|
|
|
$this->addUpdateNotify(RouteMap::SOURCE_PRODUCT_KEYWORD,$route);
|
|
|
|
$this->curlDelRoute(['new_route'=>$route]);
|
|
...
|
...
|
@@ -137,8 +137,8 @@ class KeywordLogic extends BaseLogic |
|
|
|
$param['title'] = $v;
|
|
|
|
$id = $this->model->insertGetId($param);
|
|
|
|
$route = RouteMap::setRoute($v, RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']);
|
|
|
|
$this->curlDelRoute(['new_route'=>$route]);
|
|
|
|
$this->model->edit(['route'=>$route],['id'=>$id]);
|
|
|
|
// $this->curlDelRoute(['new_route'=>$route]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}catch (\Exception $e){
|
...
|
...
|
|