正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -233,7 +233,7 @@ class CustomTemplateLogic extends BaseLogic | @@ -233,7 +233,7 @@ class CustomTemplateLogic extends BaseLogic | ||
| 233 | $commonInfo['head_html'].$preg_html.$commonInfo['footer_html']; | 233 | $commonInfo['head_html'].$preg_html.$commonInfo['footer_html']; |
| 234 | }else{ | 234 | }else{ |
| 235 | //兼容老数据,获取首页数据 | 235 | //兼容老数据,获取首页数据 |
| 236 | - $TemplateInfo = $this->model->read([ | 236 | + $TemplateInfo = (new BTemplate())->read([ |
| 237 | 'template_id'=>$info['template_id'], | 237 | 'template_id'=>$info['template_id'], |
| 238 | 'source'=>1, | 238 | 'source'=>1, |
| 239 | 'project_id'=>$this->user['project_id'], | 239 | 'project_id'=>$this->user['project_id'], |
-
请 注册 或 登录 后发表评论