正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -71,7 +71,7 @@ class KeywordLogic extends BaseLogic | @@ -71,7 +71,7 @@ class KeywordLogic extends BaseLogic | ||
| 71 | DB::commit(); | 71 | DB::commit(); |
| 72 | }catch (\Exception $e){ | 72 | }catch (\Exception $e){ |
| 73 | DB::rollBack(); | 73 | DB::rollBack(); |
| 74 | - $this->fail('保存失败'); | 74 | + $this->fail('保存失败,请连续管理员'); |
| 75 | } | 75 | } |
| 76 | $this->addUpdateNotify(RouteMap::SOURCE_PRODUCT_KEYWORD,$route); | 76 | $this->addUpdateNotify(RouteMap::SOURCE_PRODUCT_KEYWORD,$route); |
| 77 | $this->curlDelRoute(['new_route'=>$route]); | 77 | $this->curlDelRoute(['new_route'=>$route]); |
| @@ -137,8 +137,8 @@ class KeywordLogic extends BaseLogic | @@ -137,8 +137,8 @@ class KeywordLogic extends BaseLogic | ||
| 137 | $param['title'] = $v; | 137 | $param['title'] = $v; |
| 138 | $id = $this->model->insertGetId($param); | 138 | $id = $this->model->insertGetId($param); |
| 139 | $route = RouteMap::setRoute($v, RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']); | 139 | $route = RouteMap::setRoute($v, RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']); |
| 140 | - $this->curlDelRoute(['new_route'=>$route]); | ||
| 141 | $this->model->edit(['route'=>$route],['id'=>$id]); | 140 | $this->model->edit(['route'=>$route],['id'=>$id]); |
| 141 | +// $this->curlDelRoute(['new_route'=>$route]); | ||
| 142 | } | 142 | } |
| 143 | } | 143 | } |
| 144 | }catch (\Exception $e){ | 144 | }catch (\Exception $e){ |
-
请 注册 或 登录 后发表评论