|
...
|
...
|
@@ -95,11 +95,10 @@ class BlogCategoryLogic extends BaseLogic |
|
|
|
public function getLastId($id){
|
|
|
|
$info = $this->model->read(['pid'=>$id],['id']);
|
|
|
|
if($info !== false){
|
|
|
|
return $this->getLastId($id);
|
|
|
|
return $this->getLastId($info['id']);
|
|
|
|
}else{
|
|
|
|
return $id;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|