作者 lyh

gx

@@ -85,7 +85,7 @@ class BTemplateLogic extends BaseLogic @@ -85,7 +85,7 @@ class BTemplateLogic extends BaseLogic
85 }else{ 85 }else{
86 if($templateInfo['type'] == BTemplate::ALL_HTML){//返回整个html代码 86 if($templateInfo['type'] == BTemplate::ALL_HTML){//返回整个html代码
87 $type = $this->getCustomizedType($source, $source_id);//定制获取头部底部类型 87 $type = $this->getCustomizedType($source, $source_id);//定制获取头部底部类型
88 - $commonInfo = $this->getCommonPage(0,$this->user['project_id'],$type);//获取定制头部 88 + $commonInfo = $this->getCommonPage($type,$this->user['project_id'],0);//获取定制头部
89 $html = $this->handleAllHtml($commonInfo,$templateInfo['html']); 89 $html = $this->handleAllHtml($commonInfo,$templateInfo['html']);
90 return $this->success(['html'=>$html,'template_id'=>$template_id,'id'=>$templateInfo['id']]); 90 return $this->success(['html'=>$html,'template_id'=>$template_id,'id'=>$templateInfo['id']]);
91 } 91 }