正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -531,7 +531,7 @@ class CustomTemplateLogic extends BaseLogic | @@ -531,7 +531,7 @@ class CustomTemplateLogic extends BaseLogic | ||
| 531 | $info = $this->model->read(['id'=>$this->param['id']]); | 531 | $info = $this->model->read(['id'=>$this->param['id']]); |
| 532 | $param = $this->setCustomTemplateParams($info); | 532 | $param = $this->setCustomTemplateParams($info); |
| 533 | $save_id = $this->model->insertGetId($param); | 533 | $save_id = $this->model->insertGetId($param); |
| 534 | - $route = RouteMap::setRoute($param['url'], RouteMap::SOURCE_PRODUCT, $save_id, $this->user['project_id']); | 534 | + $route = RouteMap::setRoute($param['url'], RouteMap::SOURCE_PAGE, $save_id, $this->user['project_id']); |
| 535 | $this->model->edit(['route'=>$route],['id'=>$save_id]); | 535 | $this->model->edit(['route'=>$route],['id'=>$save_id]); |
| 536 | return $this->success(['id'=>$save_id]); | 536 | return $this->success(['id'=>$save_id]); |
| 537 | } | 537 | } |
-
请 注册 或 登录 后发表评论