|
...
|
...
|
@@ -65,7 +65,7 @@ class NewsLogic extends BaseLogic |
|
|
|
$data = $this->upload();
|
|
|
|
$this->param['image'] = $data;
|
|
|
|
}
|
|
|
|
$this->model->insertGetId($this->param);
|
|
|
|
$rs = $this->model->insertGetId($this->param);
|
|
|
|
RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_NEWS, $rs, $this->user['project_id']);
|
|
|
|
DB::commit();
|
|
|
|
}catch (\Exception $e){
|
...
|
...
|
|