正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -42,10 +42,10 @@ class CustomTemplateLogic extends BaseLogic | @@ -42,10 +42,10 @@ class CustomTemplateLogic extends BaseLogic | ||
| 42 | */ | 42 | */ |
| 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 | - var_dump($info); | ||
| 46 | - die(); | ||
| 47 | $html = $this->getBodyHeaderFooter($info['html'],$info['html_style']); | 45 | $html = $this->getBodyHeaderFooter($info['html'],$info['html_style']); |
| 48 | $info['html'] = $this->getHeadFooter($html); | 46 | $info['html'] = $this->getHeadFooter($html); |
| 47 | + var_dump($info); | ||
| 48 | + die(); | ||
| 49 | if($info === false){ | 49 | if($info === false){ |
| 50 | $this->fail('error'); | 50 | $this->fail('error'); |
| 51 | } | 51 | } |
-
请 注册 或 登录 后发表评论