正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -103,7 +103,8 @@ class CustomTemplateLogic extends BaseLogic | @@ -103,7 +103,8 @@ class CustomTemplateLogic extends BaseLogic | ||
| 103 | //获取模板详情 | 103 | //获取模板详情 |
| 104 | $ATemplateModel = new Template(); | 104 | $ATemplateModel = new Template(); |
| 105 | $TemplateInfo = $ATemplateModel->read(['id'=>$info['template_id']]); | 105 | $TemplateInfo = $ATemplateModel->read(['id'=>$info['template_id']]); |
| 106 | - $html = $html.$TemplateInfo['head_css'].$TemplateInfo['footer_css'].$TemplateInfo['head_html'].$TemplateInfo['footer_html']; | 106 | + $html = $html.str_replace($TemplateInfo['main_html'],'',$TemplateInfo); |
| 107 | + $html = $html.str_replace($TemplateInfo['main_css'],'',$TemplateInfo); | ||
| 107 | return $html; | 108 | return $html; |
| 108 | } | 109 | } |
| 109 | 110 |
-
请 注册 或 登录 后发表评论