正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -67,7 +67,7 @@ class CustomTemplateLogic extends BaseLogic | @@ -67,7 +67,7 @@ class CustomTemplateLogic extends BaseLogic | ||
| 67 | $id = $this->model->addReturnId($this->param); | 67 | $id = $this->model->addReturnId($this->param); |
| 68 | } | 68 | } |
| 69 | $route = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_PAGE, $id, $this->user['project_id']); | 69 | $route = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_PAGE, $id, $this->user['project_id']); |
| 70 | - $this->model->edit(['url'=>$route],['id'=>$route]); | 70 | + $this->model->edit(['url'=>$route],['id'=>$id]); |
| 71 | }catch (\Exception $e){ | 71 | }catch (\Exception $e){ |
| 72 | $this->fail('error'); | 72 | $this->fail('error'); |
| 73 | } | 73 | } |
-
请 注册 或 登录 后发表评论