作者 lyh

gx

@@ -136,6 +136,10 @@ class BTemplateLogic extends BaseLogic @@ -136,6 +136,10 @@ class BTemplateLogic extends BaseLogic
136 if($customHtmlInfo === false){ 136 if($customHtmlInfo === false){
137 $this->fail('定制页面,请先上传代码块'); 137 $this->fail('定制页面,请先上传代码块');
138 } 138 }
  139 + $commonInfo = $this->getCommonPage($type,$this->user['project_id'],0);//获取定制头部
  140 + if($commonInfo !== false){
  141 + $customHtmlInfo['main_html'] = $this->handleAllHtml($commonInfo,$customHtmlInfo['main_html']);
  142 + }
139 return $customHtmlInfo['main_html']; 143 return $customHtmlInfo['main_html'];
140 } 144 }
141 return []; 145 return [];