作者 lyh

更新产品

@@ -71,6 +71,12 @@ class ATemplateLogic extends BaseLogic @@ -71,6 +71,12 @@ class ATemplateLogic extends BaseLogic
71 $this->param['head_css'] = characterTruncation($this->param['html'],'/<style id="globalsojs-header">(.*?)<\/style>/s'); 71 $this->param['head_css'] = characterTruncation($this->param['html'],'/<style id="globalsojs-header">(.*?)<\/style>/s');
72 $this->param['main_css'] = characterTruncation($this->param['html'],'/<style id="globalsojs-styles">(.*?)<\/style>/s'); 72 $this->param['main_css'] = characterTruncation($this->param['html'],'/<style id="globalsojs-styles">(.*?)<\/style>/s');
73 $this->param['footer_css'] = characterTruncation($this->param['html'],'/<style id="globalsojs-footer">(.*?)<\/style>/s'); 73 $this->param['footer_css'] = characterTruncation($this->param['html'],'/<style id="globalsojs-footer">(.*?)<\/style>/s');
  74 + if(isset($this->param['design_msg']) && !empty($this->param['design_msg'])){
  75 + $this->param['design_msg'] = json_encode($this->param['design_msg']);
  76 + }
  77 + if(isset($this->param['front_msg']) && !empty($this->param['front_msg'])){
  78 + $this->param['front_msg'] = json_encode($this->param['front_msg']);
  79 + }
74 } 80 }
75 /** 81 /**
76 * @remark :修改模块状态 82 * @remark :修改模块状态