|
@@ -343,7 +343,7 @@ class InitHtmlLogic extends BaseLogic |
|
@@ -343,7 +343,7 @@ class InitHtmlLogic extends BaseLogic |
|
343
|
*/
|
343
|
*/
|
|
344
|
public function getCustomizeTemplateComHtml($type,$is_custom,$is_list,$template_id = 0){
|
344
|
public function getCustomizeTemplateComHtml($type,$is_custom,$is_list,$template_id = 0){
|
|
345
|
$data = ['head_html'=>'','head_style'=>'','footer_html'=>'','footer_style'=>'','other'=>''];
|
345
|
$data = ['head_html'=>'','head_style'=>'','footer_html'=>'','footer_style'=>'','other'=>''];
|
|
346
|
- $param = ['template_id'=>$template_id,'type'=>$type,'is_custom'=>$is_custom,'is_list'=>$is_list];
|
346
|
+ $param = ['template_id'=>$template_id,'source'=>$type,'is_custom'=>$is_custom,'is_list'=>$is_list];
|
|
347
|
$commonTemplateModel = new BTemplateCom();
|
347
|
$commonTemplateModel = new BTemplateCom();
|
|
348
|
$commonList = $commonTemplateModel->list($param);
|
348
|
$commonList = $commonTemplateModel->list($param);
|
|
349
|
if(!empty($commonList)){
|
349
|
if(!empty($commonList)){
|