作者 赵彬吉
@@ -185,7 +185,7 @@ class CustomTemplateLogic extends BaseLogic @@ -185,7 +185,7 @@ class CustomTemplateLogic extends BaseLogic
185 $this->param['html_style'] = "<style id='globalsojs-styles'></style>"; 185 $this->param['html_style'] = "<style id='globalsojs-styles'></style>";
186 } 186 }
187 } 187 }
188 - if(($this->param['url'] == 'news') || ($this->param['url'] == 'product') || ($this->param['url'] == 'blog')){ 188 + if(($this->param['url'] == 'news') || ($this->param['url'] == 'products') || ($this->param['url'] == 'blog')){
189 $this->fail('不允许修改路由为:'.$this->param['url']); 189 $this->fail('不允许修改路由为:'.$this->param['url']);
190 } 190 }
191 $this->param['project_id'] = $this->user['project_id']; 191 $this->param['project_id'] = $this->user['project_id'];