正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -199,7 +199,9 @@ class KeywordLogic extends BaseLogic | @@ -199,7 +199,9 @@ class KeywordLogic extends BaseLogic | ||
| 199 | RouteMap::delRoute(RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']); | 199 | RouteMap::delRoute(RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']); |
| 200 | //生成一条删除路由记录 | 200 | //生成一条删除路由记录 |
| 201 | $info = $this->model->read(['id'=>$id],['id','route']); | 201 | $info = $this->model->read(['id'=>$id],['id','route']); |
| 202 | + if($info !== false){ | ||
| 202 | $this->curlDelRoute(['route'=>$info['route']]); | 203 | $this->curlDelRoute(['route'=>$info['route']]); |
| 204 | + } | ||
| 203 | return $this->success(); | 205 | return $this->success(); |
| 204 | } | 206 | } |
| 205 | 207 |
-
请 注册 或 登录 后发表评论