|
...
|
...
|
@@ -126,7 +126,7 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
if($bSettingInfo === false){
|
|
|
|
$this->fail('请先选择模版');
|
|
|
|
}
|
|
|
|
if(!isset($this->param['template_status'])){
|
|
|
|
if(!isset($this->param['template_status'])){//代表直接替换模版 不更新头部底部
|
|
|
|
$this->saveCommonTemplate($html,$bSettingInfo['template_id']);
|
|
|
|
}
|
|
|
|
$this->param['html'] = characterTruncation($html,'/<main\b[^>]*>(.*?)<\/main>/s');
|
...
|
...
|
|