作者 lyh

gx

@@ -376,28 +376,4 @@ class VisualizationLogic extends BaseLogic @@ -376,28 +376,4 @@ class VisualizationLogic extends BaseLogic
376 } 376 }
377 return $commonInfo; 377 return $commonInfo;
378 } 378 }
379 -  
380 - /**  
381 - * @remark :保存首页头部底部信息  
382 - * @name :saveHomeHeaderFooter  
383 - * @author :lyh  
384 - * @method :post  
385 - * @time :2023/11/16 11:14  
386 - */  
387 - public function saveHomeHeaderFooter($template_id,$aTemplateInfo){  
388 - $data = [  
389 - 'other'=>str_replace('<header','',characterTruncation($aTemplateInfo['html'],"/<link id=\"google-fonts-link\"(.*?)<header/s")),  
390 - 'head_html'=>$aTemplateInfo['head_html'],  
391 - 'footer_html'=>$aTemplateInfo['footer_html'],  
392 - 'head_css'=>$aTemplateInfo['head_css'],  
393 - 'footer_css'=>$aTemplateInfo['footer_css'],  
394 - 'template_id'=>$template_id,  
395 - 'project_id'=>$this->user['project_id'],  
396 - 'type'=>1,  
397 - ];  
398 - //保存首页头部信息  
399 - $templateCommonModel = new BTemplateCommon();  
400 - $templateCommonModel->add($data);  
401 - return $this->success($data);  
402 - }  
403 } 379 }