正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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)){ |
-
请 注册 或 登录 后发表评论