正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
| @@ -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 []; |
-
请 注册 或 登录 后发表评论