作者 lyh

gx

... ... @@ -233,7 +233,7 @@ class CustomTemplateLogic extends BaseLogic
$commonInfo['head_html'].$preg_html.$commonInfo['footer_html'];
}else{
//兼容老数据,获取首页数据
$TemplateInfo = $this->model->read([
$TemplateInfo = (new BTemplate())->read([
'template_id'=>$info['template_id'],
'source'=>1,
'project_id'=>$this->user['project_id'],
... ...