作者 lyh

gx

@@ -42,8 +42,6 @@ class CustomTemplateLogic extends BaseLogic @@ -42,8 +42,6 @@ class CustomTemplateLogic extends BaseLogic
42 public function customTemplateInfo(){ 42 public function customTemplateInfo(){
43 $info = $this->model->read(['id'=>$this->param['id']]); 43 $info = $this->model->read(['id'=>$this->param['id']]);
44 $html = $this->getBodyHeaderFooter($info['html'],$info['html_style']); 44 $html = $this->getBodyHeaderFooter($info['html'],$info['html_style']);
45 - var_dump($html);  
46 - die();  
47 $info['html'] = $this->getHeadFooter($html); 45 $info['html'] = $this->getHeadFooter($html);
48 if($info === false){ 46 if($info === false){
49 $this->fail('error'); 47 $this->fail('error');
@@ -117,6 +115,8 @@ class CustomTemplateLogic extends BaseLogic @@ -117,6 +115,8 @@ class CustomTemplateLogic extends BaseLogic
117 //获取设置的默认模版 115 //获取设置的默认模版
118 $bSettingModel = new BSetting(); 116 $bSettingModel = new BSetting();
119 $info = $bSettingModel->read(['project_id'=>$this->user['project_id']]); 117 $info = $bSettingModel->read(['project_id'=>$this->user['project_id']]);
  118 + var_dump($info);
  119 + die();
120 //获取模板详情 120 //获取模板详情
121 $bTemplateModel = new BTemplate(); 121 $bTemplateModel = new BTemplate();
122 $TemplateInfo = $bTemplateModel->read([ 122 $TemplateInfo = $bTemplateModel->read([