作者 lyh

gx

... ... @@ -113,6 +113,11 @@ class BTemplateLogic extends BaseLogic
//字符串截取
$this->StringProcessing();
$this->param['project_id'] = $this->user['project_id'];
//获取当前模版详情
$template_info = $this->model->read(['template_id'=>$this->param['template_id']]);
//同步数据
$this->param['name'] = $template_info['name'];
$this->param['image'] = $template_info['image'];
$rs = $this->model->add($this->param);
}else{
$this->StringProcessing();
... ...