|
...
|
...
|
@@ -174,7 +174,7 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
$six_read = $this->param['six_read'] ?? 0;//5.0数据时,是否按6.0显示
|
|
|
|
if($is_upgrade == 0 || $six_read == 0) {
|
|
|
|
$this->param['url'] = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_PAGE, $id, $this->user['project_id']);
|
|
|
|
if(($this->param['url'] == 'news') || ($this->param['url'] == 'product') || ($this->param['url'] == 'blog')){
|
|
|
|
if(($this->param['url'] == 'news') || ($this->param['url'] == 'products') || ($this->param['url'] == 'blog')){
|
|
|
|
$this->fail('不允许创建路由为:'.$this->param['url']);
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|