正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -74,7 +74,9 @@ class CustomTemplateLogic extends BaseLogic | @@ -74,7 +74,9 @@ class CustomTemplateLogic extends BaseLogic | ||
| 74 | $this->fail('error'); | 74 | $this->fail('error'); |
| 75 | } | 75 | } |
| 76 | //路由映射 | 76 | //路由映射 |
| 77 | - RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_PAGE, $id, $this->user['project_id']); | 77 | + if(isset($this->param['url']) && !empty($this->param['url'])){ |
| 78 | + RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_PAGE, $id, $this->user['project_id']); | ||
| 79 | + } | ||
| 78 | //TODO::通知网站更新 | 80 | //TODO::通知网站更新 |
| 79 | $data = [ | 81 | $data = [ |
| 80 | 'project_id'=>$this->user['project_id'], | 82 | 'project_id'=>$this->user['project_id'], |
-
请 注册 或 登录 后发表评论