|
...
|
...
|
@@ -67,7 +67,7 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
$id = $this->model->addReturnId($this->param);
|
|
|
|
}
|
|
|
|
$route = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_PAGE, $id, $this->user['project_id']);
|
|
|
|
$this->model->edit(['url'=>$route],['id'=>$route]);
|
|
|
|
$this->model->edit(['url'=>$route],['id'=>$id]);
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->fail('error');
|
|
|
|
}
|
...
|
...
|
|