正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -38,7 +38,7 @@ class BlogLogic extends BaseLogic | @@ -38,7 +38,7 @@ class BlogLogic extends BaseLogic | ||
| 38 | $route = $this->param['url']; | 38 | $route = $this->param['url']; |
| 39 | $this->edit($this->param,['id'=>$this->param['id']]); | 39 | $this->edit($this->param,['id'=>$this->param['id']]); |
| 40 | }else{ | 40 | }else{ |
| 41 | - $this->param['sort'] = $this->setNewsSort(); | 41 | +// $this->param['sort'] = $this->setNewsSort(); |
| 42 | $id = $this->model->addReturnId($this->param); | 42 | $id = $this->model->addReturnId($this->param); |
| 43 | $route = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_BLOG, $id, $this->user['project_id']); | 43 | $route = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_BLOG, $id, $this->user['project_id']); |
| 44 | $this->edit(['url'=>$route],['id'=>$id]); | 44 | $this->edit(['url'=>$route],['id'=>$id]); |
-
请 注册 或 登录 后发表评论