作者 lyh

gx

... ... @@ -225,7 +225,7 @@ class BTemplateLogic extends BaseLogic
*/
public function saveCommonTemplate($param){
$templateCommonModel = new BTemplateCommon();
$info = $templateCommonModel->read(['template_id'=>$param['template_id'],'project_id'=>$this->user['project_id'],'type'=>$param['source']]);
$info = $templateCommonModel->read(['template_id'=>$param['template_id'],'project_id'=>$this->user['project_id'],'type'=>1]);
$data = [
'head_html'=>$param['head_html'],
'head_css'=>$param['head_css'],
... ...