正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
| @@ -102,9 +102,10 @@ class BTemplateLogic extends BaseLogic | @@ -102,9 +102,10 @@ class BTemplateLogic extends BaseLogic | ||
| 102 | $bTemplateComModel = new BTemplateCom(); | 102 | $bTemplateComModel = new BTemplateCom(); |
| 103 | $condition['common_type'] = BTemplate::COMMON_OTHER; | 103 | $condition['common_type'] = BTemplate::COMMON_OTHER; |
| 104 | $condition['source'] = $headComInfo['source']; | 104 | $condition['source'] = $headComInfo['source']; |
| 105 | + $condition['is_list'] = $headComInfo['is_list']; | ||
| 105 | $otherInfo = $bTemplateComModel->read($condition); | 106 | $otherInfo = $bTemplateComModel->read($condition); |
| 106 | if($otherInfo === false){ | 107 | if($otherInfo === false){ |
| 107 | - $this->fail('获取失败,请联系管理员'); | 108 | + $this->fail('获取失败,请联系管理员222'); |
| 108 | } | 109 | } |
| 109 | $footerComInfo = $this->getFooterComHtml($condition,$source,$is_list,$is_custom,$template_id); | 110 | $footerComInfo = $this->getFooterComHtml($condition,$source,$is_list,$is_custom,$template_id); |
| 110 | $data = ['head_html'=>$headComInfo['html'] ?? '', 'head_style'=>$headComInfo['html_style'] ?? '', 'other'=>$otherInfo['html'] ?? '', | 111 | $data = ['head_html'=>$headComInfo['html'] ?? '', 'head_style'=>$headComInfo['html_style'] ?? '', 'other'=>$otherInfo['html'] ?? '', |
| @@ -131,7 +132,7 @@ class BTemplateLogic extends BaseLogic | @@ -131,7 +132,7 @@ class BTemplateLogic extends BaseLogic | ||
| 131 | $condition['is_list'] = BTemplate::IS_DETAIL; | 132 | $condition['is_list'] = BTemplate::IS_DETAIL; |
| 132 | $headComInfo = $bTemplateComModel->read($condition); | 133 | $headComInfo = $bTemplateComModel->read($condition); |
| 133 | if($headComInfo === false){ | 134 | if($headComInfo === false){ |
| 134 | - $this->fail('获取失败,请联系管理员'); | 135 | + $this->fail('获取失败,请联系管理员1111'); |
| 135 | } | 136 | } |
| 136 | } | 137 | } |
| 137 | return $this->success($headComInfo); | 138 | return $this->success($headComInfo); |
-
请 注册 或 登录 后发表评论