作者 lyh

gx

... ... @@ -43,9 +43,10 @@ class CustomTemplateLogic extends BaseLogic
public function customTemplateInfo(){
$info = $this->model->read(['id'=>$this->param['id']]);
if(!empty($info['html']) && !empty($info['html_style'])){
}
$html = $this->getBodyHeaderFooter($info['html'],$info['html_style']);
$info['html'] = $this->getHeadFooter($html);
}
if($info === false){
$this->fail('error');
}
... ...