作者 lyh

gx

@@ -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