正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
| @@ -47,8 +47,10 @@ class CustomTemplateLogic extends BaseLogic | @@ -47,8 +47,10 @@ class CustomTemplateLogic extends BaseLogic | ||
| 47 | if($info === false){ | 47 | if($info === false){ |
| 48 | $this->fail('当前数据不存在'); | 48 | $this->fail('当前数据不存在'); |
| 49 | } | 49 | } |
| 50 | - $html = $this->getBodyHeaderFooter($info['html'],$info['html_style']); | ||
| 51 | - $info['html'] = $this->getHeadFooter($html); | 50 | + if($info['is_visualization'] == 0){ |
| 51 | + $html = $this->getBodyHeaderFooter($info['html'],$info['html_style']); | ||
| 52 | + $info['html'] = $this->getHeadFooter($html); | ||
| 53 | + } | ||
| 52 | return $this->success($info); | 54 | return $this->success($info); |
| 53 | } | 55 | } |
| 54 | 56 |
-
请 注册 或 登录 后发表评论