|
...
|
...
|
@@ -73,7 +73,7 @@ class NewsCategoryLogic extends BaseLogic |
|
|
|
//当父级分类拥有产品时,处理子集
|
|
|
|
$this->addProcessingSon($id);
|
|
|
|
}
|
|
|
|
$route = RouteMap::setRoute($this->param['alias'] ?: $this->param['name'], RouteMap::SOURCE_NEWS_CATE, $id, $this->user['project_id']);
|
|
|
|
$route = RouteMap::setRoute(isset($this->param['alias']) ? $this->param['alias'] : $this->param['name'], RouteMap::SOURCE_NEWS_CATE, $id, $this->user['project_id']);
|
|
|
|
$this->model->edit(['alias'=>$route],['id'=>$id]);
|
|
|
|
// DB::commit();
|
|
|
|
// }catch (\Exception $e){
|
...
|
...
|
|