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