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