|
...
|
...
|
@@ -62,7 +62,8 @@ class BlogCategoryLogic extends BaseLogic |
|
|
|
//处理子集
|
|
|
|
$this->addProcessingSon($id);
|
|
|
|
}
|
|
|
|
$route = RouteMap::setRoute($this->param['alias'] ?: $this->param['name'], RouteMap::SOURCE_BLOG_CATE, $id, $this->user['project_id']);
|
|
|
|
$route = RouteMap::setRoute(isset($this->param['alias']) ? $this->param['alias'] : $this->param['name'],
|
|
|
|
RouteMap::SOURCE_BLOG_CATE, $id, $this->user['project_id']);
|
|
|
|
$this->edit(['alias'=>$route],['id'=>$id]);
|
|
|
|
DB::commit();
|
|
|
|
}catch (\Exception $e){
|
...
|
...
|
|