作者 lyh

gx

@@ -47,6 +47,7 @@ class InitHtmlLogic extends BaseLogic @@ -47,6 +47,7 @@ class InitHtmlLogic extends BaseLogic
47 $main_style = $mainInfo['main_css']; 47 $main_style = $mainInfo['main_css'];
48 } 48 }
49 $commonInfo = $this->getTypeCommonHtml($template_id,$this->param['type'],$is_custom,$is_list); //获取头部 49 $commonInfo = $this->getTypeCommonHtml($template_id,$this->param['type'],$is_custom,$is_list); //获取头部
  50 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($commonInfo, true) . PHP_EOL, FILE_APPEND);
50 $html = $commonInfo['head_css'].$main_style.$commonInfo['footer_css'].$commonInfo['other'].$commonInfo['head_html'].$main_html.$commonInfo['footer_html']; 51 $html = $commonInfo['head_css'].$main_style.$commonInfo['footer_css'].$commonInfo['other'].$commonInfo['head_html'].$main_html.$commonInfo['footer_html'];
51 $html = $this->getHeadFooter($html);//组装数据 52 $html = $this->getHeadFooter($html);//组装数据
52 return $this->success($html); 53 return $this->success($html);