作者 lyh

gx

@@ -526,6 +526,7 @@ class BTemplateLogic extends BaseLogic @@ -526,6 +526,7 @@ class BTemplateLogic extends BaseLogic
526 $this->param['project_id'] = $this->user['project_id']; 526 $this->param['project_id'] = $this->user['project_id'];
527 $this->param['test_model'] = 2;//未审核模版 527 $this->param['test_model'] = 2;//未审核模版
528 $this->param['operator_id'] = $this->user['manager_id'] ?? 0; 528 $this->param['operator_id'] = $this->user['manager_id'] ?? 0;
  529 + $this->param['html'] = characterTruncation($this->param['html'],'/<style id="globalsojs-header">(.*?)<\/footer>/s');
529 $this->param = $this->stringProcessing($this->param); 530 $this->param = $this->stringProcessing($this->param);
530 $publicTemplateModel = new Template(); 531 $publicTemplateModel = new Template();
531 $rs = $publicTemplateModel->add($this->param); 532 $rs = $publicTemplateModel->add($this->param);