正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -126,7 +126,7 @@ class CustomTemplateLogic extends BaseLogic | @@ -126,7 +126,7 @@ class CustomTemplateLogic extends BaseLogic | ||
| 126 | if($bSettingInfo === false){ | 126 | if($bSettingInfo === false){ |
| 127 | $this->fail('请先选择模版'); | 127 | $this->fail('请先选择模版'); |
| 128 | } | 128 | } |
| 129 | - if(!isset($this->param['template_status'])){ | 129 | + if(!isset($this->param['template_status'])){//代表直接替换模版 不更新头部底部 |
| 130 | $this->saveCommonTemplate($html,$bSettingInfo['template_id']); | 130 | $this->saveCommonTemplate($html,$bSettingInfo['template_id']); |
| 131 | } | 131 | } |
| 132 | $this->param['html'] = characterTruncation($html,'/<main\b[^>]*>(.*?)<\/main>/s'); | 132 | $this->param['html'] = characterTruncation($html,'/<main\b[^>]*>(.*?)<\/main>/s'); |
-
请 注册 或 登录 后发表评论