正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -54,6 +54,9 @@ class CustomTemplateLogic extends BaseLogic | @@ -54,6 +54,9 @@ class CustomTemplateLogic extends BaseLogic | ||
| 54 | */ | 54 | */ |
| 55 | public function customTemplateSave(){ | 55 | public function customTemplateSave(){ |
| 56 | if(isset($this->param['id']) && !empty($this->param['id'])){ | 56 | if(isset($this->param['id']) && !empty($this->param['id'])){ |
| 57 | + if(isset($this->param['html']) && !empty($this->param['html'])){ | ||
| 58 | + $this->param['html'] = $this->getHeadFooter(characterTruncation($this->param['html'],'/<style id="vvvebjs-header">(.*?)<\/footer>/s')); | ||
| 59 | + } | ||
| 57 | $rs = $this->model->edit($this->param,['id'=>$this->param['id']]); | 60 | $rs = $this->model->edit($this->param,['id'=>$this->param['id']]); |
| 58 | }else{ | 61 | }else{ |
| 59 | $this->param['project_id'] = $this->user['project_id']; | 62 | $this->param['project_id'] = $this->user['project_id']; |
-
请 注册 或 登录 后发表评论