|
...
|
...
|
@@ -39,6 +39,7 @@ class BlogLogic extends BaseLogic |
|
|
|
$this->editNewsRoute($this->param['id'],$this->param['url']);
|
|
|
|
$this->edit($this->param,['id'=>$this->param['id']]);
|
|
|
|
}else{
|
|
|
|
$this->param['url'] = $this->param['url'].'-'.RouteMap::SOURCE_BLOG;
|
|
|
|
$id = $this->model->addReturnId($this->param);
|
|
|
|
}
|
|
|
|
$route = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_BLOG, $id, $this->user['project_id']);
|
...
|
...
|
|