正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -72,6 +72,7 @@ class InitHtmlLogic extends BaseLogic | @@ -72,6 +72,7 @@ class InitHtmlLogic extends BaseLogic | ||
| 72 | $bTemplateComModel = new BTemplateCom(); | 72 | $bTemplateComModel = new BTemplateCom(); |
| 73 | $condition['common_type'] = BTemplate::COMMON_OTHER; | 73 | $condition['common_type'] = BTemplate::COMMON_OTHER; |
| 74 | $condition['source'] = $headComInfo['source']; | 74 | $condition['source'] = $headComInfo['source']; |
| 75 | + $condition['is_list'] = $headComInfo['is_list']; | ||
| 75 | $otherInfo = $bTemplateComModel->read($condition); | 76 | $otherInfo = $bTemplateComModel->read($condition); |
| 76 | if($otherInfo === false){ | 77 | if($otherInfo === false){ |
| 77 | $this->fail('获取失败,请联系管理员'); | 78 | $this->fail('获取失败,请联系管理员'); |
| @@ -98,6 +99,7 @@ class InitHtmlLogic extends BaseLogic | @@ -98,6 +99,7 @@ class InitHtmlLogic extends BaseLogic | ||
| 98 | if($headComInfo === false){ | 99 | if($headComInfo === false){ |
| 99 | //取默认公共的 | 100 | //取默认公共的 |
| 100 | $condition['source'] = BTemplate::SOURCE_COM; | 101 | $condition['source'] = BTemplate::SOURCE_COM; |
| 102 | + $condition['is_list'] = 0; | ||
| 101 | $headComInfo = $bTemplateComModel->read($condition); | 103 | $headComInfo = $bTemplateComModel->read($condition); |
| 102 | if($headComInfo === false){ | 104 | if($headComInfo === false){ |
| 103 | $this->fail('获取失败,请联系管理员'); | 105 | $this->fail('获取失败,请联系管理员'); |
| @@ -120,6 +122,7 @@ class InitHtmlLogic extends BaseLogic | @@ -120,6 +122,7 @@ class InitHtmlLogic extends BaseLogic | ||
| 120 | if($footerComInfo === false){ | 122 | if($footerComInfo === false){ |
| 121 | //取默认首页的 | 123 | //取默认首页的 |
| 122 | $condition['source'] = BTemplate::SOURCE_COM; | 124 | $condition['source'] = BTemplate::SOURCE_COM; |
| 125 | + $condition['is_list'] = 0; | ||
| 123 | $footerComInfo = $bTemplateComModel->read($condition); | 126 | $footerComInfo = $bTemplateComModel->read($condition); |
| 124 | if($footerComInfo === false){ | 127 | if($footerComInfo === false){ |
| 125 | $this->fail('获取失败,请联系管理员'); | 128 | $this->fail('获取失败,请联系管理员'); |
-
请 注册 或 登录 后发表评论