正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -43,9 +43,10 @@ class CustomTemplateLogic extends BaseLogic | @@ -43,9 +43,10 @@ class CustomTemplateLogic extends BaseLogic | ||
| 43 | public function customTemplateInfo(){ | 43 | public function customTemplateInfo(){ |
| 44 | $info = $this->model->read(['id'=>$this->param['id']]); | 44 | $info = $this->model->read(['id'=>$this->param['id']]); |
| 45 | if(!empty($info['html']) && !empty($info['html_style'])){ | 45 | if(!empty($info['html']) && !empty($info['html_style'])){ |
| 46 | + | ||
| 47 | + } | ||
| 46 | $html = $this->getBodyHeaderFooter($info['html'],$info['html_style']); | 48 | $html = $this->getBodyHeaderFooter($info['html'],$info['html_style']); |
| 47 | $info['html'] = $this->getHeadFooter($html); | 49 | $info['html'] = $this->getHeadFooter($html); |
| 48 | - } | ||
| 49 | if($info === false){ | 50 | if($info === false){ |
| 50 | $this->fail('error'); | 51 | $this->fail('error'); |
| 51 | } | 52 | } |
-
请 注册 或 登录 后发表评论