|
...
|
...
|
@@ -67,7 +67,9 @@ class BlogLogic extends BaseLogic |
|
|
|
}
|
|
|
|
$route = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_BLOG, $id, $this->user['project_id']);
|
|
|
|
$this->model->edit(['url'=>$route],['id'=>$id]);
|
|
|
|
$this->saveAssociationCate($id,$category);
|
|
|
|
if(!empty($category)){
|
|
|
|
$this->saveAssociationCate($id,$category);
|
|
|
|
}
|
|
|
|
// DB::commit();
|
|
|
|
// }catch (\Exception $e){
|
|
|
|
// DB::rollBack();
|
...
|
...
|
|