正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -100,9 +100,8 @@ class BlogCategoryLogic extends BaseLogic | @@ -100,9 +100,8 @@ class BlogCategoryLogic extends BaseLogic | ||
| 100 | $info = $this->model->read(['pid'=>$id],['id']); | 100 | $info = $this->model->read(['pid'=>$id],['id']); |
| 101 | if($info !== false){ | 101 | if($info !== false){ |
| 102 | $this->getLastId($id); | 102 | $this->getLastId($id); |
| 103 | - }else{ | ||
| 104 | - return $id; | ||
| 105 | } | 103 | } |
| 104 | + return $id; | ||
| 106 | } | 105 | } |
| 107 | 106 | ||
| 108 | /** | 107 | /** |
-
请 注册 或 登录 后发表评论