|
...
|
...
|
@@ -102,9 +102,10 @@ class BTemplateLogic extends BaseLogic |
|
|
|
$bTemplateComModel = new BTemplateCom();
|
|
|
|
$condition['common_type'] = BTemplate::COMMON_OTHER;
|
|
|
|
$condition['source'] = $headComInfo['source'];
|
|
|
|
$condition['is_list'] = $headComInfo['is_list'];
|
|
|
|
$otherInfo = $bTemplateComModel->read($condition);
|
|
|
|
if($otherInfo === false){
|
|
|
|
$this->fail('获取失败,请联系管理员');
|
|
|
|
$this->fail('获取失败,请联系管理员222');
|
|
|
|
}
|
|
|
|
$footerComInfo = $this->getFooterComHtml($condition,$source,$is_list,$is_custom,$template_id);
|
|
|
|
$data = ['head_html'=>$headComInfo['html'] ?? '', 'head_style'=>$headComInfo['html_style'] ?? '', 'other'=>$otherInfo['html'] ?? '',
|
|
...
|
...
|
@@ -131,7 +132,7 @@ class BTemplateLogic extends BaseLogic |
|
|
|
$condition['is_list'] = BTemplate::IS_DETAIL;
|
|
|
|
$headComInfo = $bTemplateComModel->read($condition);
|
|
|
|
if($headComInfo === false){
|
|
|
|
$this->fail('获取失败,请联系管理员');
|
|
|
|
$this->fail('获取失败,请联系管理员1111');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return $this->success($headComInfo);
|
...
|
...
|
|