作者 lyh

gx

@@ -504,6 +504,7 @@ class BTemplateLogic extends BaseLogic @@ -504,6 +504,7 @@ class BTemplateLogic extends BaseLogic
504 public function saveTemplateCom($html,$template_id,$source,$is_list,$is_custom){ 504 public function saveTemplateCom($html,$template_id,$source,$is_list,$is_custom){
505 $typeArr = [BTemplate::COMMON_HEAD, BTemplate::COMMON_FOOTER, BTemplate::COMMON_OTHER]; 505 $typeArr = [BTemplate::COMMON_HEAD, BTemplate::COMMON_FOOTER, BTemplate::COMMON_OTHER];
506 $handleInfo = $this->handleCommonParam($html); 506 $handleInfo = $this->handleCommonParam($html);
  507 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($handleInfo, true) . PHP_EOL, FILE_APPEND);
507 $templateComModel = new BTemplateCom(); 508 $templateComModel = new BTemplateCom();
508 foreach ($typeArr as $type){ 509 foreach ($typeArr as $type){
509 if($type == BTemplate::COMMON_HEAD){ 510 if($type == BTemplate::COMMON_HEAD){