Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
2 changed files
with
3 additions
and
2 deletions
@@ -117,7 +117,7 @@ class IndexController extends AbstractAction | @@ -117,7 +117,7 @@ class IndexController extends AbstractAction | ||
117 | $data['showDownloadApp'] = true; | 117 | $data['showDownloadApp'] = true; |
118 | // 从搜索页过来的,显示搜索框, 和进入品牌引导信息 | 118 | // 从搜索页过来的,显示搜索框, 和进入品牌引导信息 |
119 | if ($from === 'search') { | 119 | if ($from === 'search') { |
120 | - $data['goodList'] = Product\ListModel::getBrandData($condition, $title); | 120 | + $data['goodList'] = array(); |
121 | $data['goodList']['brandWay'] = false; | 121 | $data['goodList']['brandWay'] = false; |
122 | $data['goodList']['search']['default'] = $query; | 122 | $data['goodList']['search']['default'] = $query; |
123 | $data['goodList']['search']['url'] = Helpers::url('', null, 'search'); | 123 | $data['goodList']['search']['url'] = Helpers::url('', null, 'search'); |
@@ -125,7 +125,7 @@ class IndexController extends AbstractAction | @@ -125,7 +125,7 @@ class IndexController extends AbstractAction | ||
125 | // 品牌一览过来的展示品牌介绍和LOGO | 125 | // 品牌一览过来的展示品牌介绍和LOGO |
126 | else { | 126 | else { |
127 | $data['brandHome'] = Product\ListModel::getBrandIntro($brandIds[0], $uid, $title); | 127 | $data['brandHome'] = Product\ListModel::getBrandIntro($brandIds[0], $uid, $title); |
128 | - $data['goodList'] = Product\ListModel::getBrandData($condition, $title); | 128 | + $data['goodList'] = array(); |
129 | } | 129 | } |
130 | $data['goodList'] += $condition; | 130 | $data['goodList'] += $condition; |
131 | 131 |
-
Please register or login to post a comment