正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -137,7 +137,7 @@ class KeywordLogic extends BaseLogic | @@ -137,7 +137,7 @@ class KeywordLogic extends BaseLogic | ||
| 137 | $id = $this->model->insertGetId($param); | 137 | $id = $this->model->insertGetId($param); |
| 138 | $route = RouteMap::setRoute($v, RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']); | 138 | $route = RouteMap::setRoute($v, RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']); |
| 139 | $this->curlDelRoute(['new_route'=>$route]); | 139 | $this->curlDelRoute(['new_route'=>$route]); |
| 140 | - $this->model->edit(['route'=>$route],['id'=>$v['id']]); | 140 | + $this->model->edit(['route'=>$route],['id'=>$id]); |
| 141 | } | 141 | } |
| 142 | } | 142 | } |
| 143 | }catch (\Exception $e){ | 143 | }catch (\Exception $e){ |
-
请 注册 或 登录 后发表评论