作者 李小龙

保存页面模板处理

@@ -121,6 +121,7 @@ class BTemplateLogic extends BaseLogic @@ -121,6 +121,7 @@ class BTemplateLogic extends BaseLogic
121 $rs = $this->model->add($this->param); 121 $rs = $this->model->add($this->param);
122 }else{ 122 }else{
123 $this->StringProcessing(); 123 $this->StringProcessing();
  124 + $this->templateSaveParam($this->param['template_id']);
124 $rs = $this->model->edit($this->param,['id'=>$info['id']]); 125 $rs = $this->model->edit($this->param,['id'=>$info['id']]);
125 } 126 }
126 if($rs === false){ 127 if($rs === false){