作者 lyh

gx

@@ -350,7 +350,7 @@ class BTemplateLogic extends BaseLogic @@ -350,7 +350,7 @@ class BTemplateLogic extends BaseLogic
350 */ 350 */
351 public function getCustomizeTemplateComHtml($type,$is_custom,$is_list,$template_id = 0){ 351 public function getCustomizeTemplateComHtml($type,$is_custom,$is_list,$template_id = 0){
352 $data = ['head_html'=>'','head_style'=>'','footer_html'=>'','footer_style'=>'','other'=>'']; 352 $data = ['head_html'=>'','head_style'=>'','footer_html'=>'','footer_style'=>'','other'=>''];
353 - $param = ['template_id'=>$template_id,'project_id'=>$this->user['project_id'],'type'=>$type,'is_custom'=>$is_custom,'is_list'=>$is_list]; 353 + $param = ['template_id'=>$template_id,'project_id'=>$this->user['project_id'],'source'=>$type,'is_custom'=>$is_custom,'is_list'=>$is_list];
354 $commonTemplateModel = new BTemplateCom(); 354 $commonTemplateModel = new BTemplateCom();
355 $commonList = $commonTemplateModel->list($param); 355 $commonList = $commonTemplateModel->list($param);
356 if(!empty($commonList)){ 356 if(!empty($commonList)){