|
@@ -120,13 +120,13 @@ class IndexController extends AbstractAction |
|
@@ -120,13 +120,13 @@ class IndexController extends AbstractAction |
120
|
// 从搜索页过来的,显示搜索框, 和进入品牌引导信息
|
120
|
// 从搜索页过来的,显示搜索框, 和进入品牌引导信息
|
121
|
if ($from === 'search') {
|
121
|
if ($from === 'search') {
|
122
|
$data['goodList'] = array();
|
122
|
$data['goodList'] = array();
|
123
|
- $data['goodList']['brandWay'] = Product\ListModel::getBrandLogoByIds($brandIds[0], $title);
|
123
|
+ $data['goodList']['brandWay'] = \Product\ListModel::getBrandLogoByIds($brandIds[0], $title);
|
124
|
$data['goodList']['search']['default'] = $query;
|
124
|
$data['goodList']['search']['default'] = $query;
|
125
|
$data['goodList']['search']['url'] = Helpers::url('', null, 'search');
|
125
|
$data['goodList']['search']['url'] = Helpers::url('', null, 'search');
|
126
|
}
|
126
|
}
|
127
|
// 品牌一览过来的展示品牌介绍和LOGO
|
127
|
// 品牌一览过来的展示品牌介绍和LOGO
|
128
|
else {
|
128
|
else {
|
129
|
- $data['brandHome'] = Product\ListModel::getBrandIntro($brandIds[0], $uid, $title);
|
129
|
+ $data['brandHome'] = \Product\ListModel::getBrandIntro($brandIds[0], $uid, $title);
|
130
|
$data['goodList'] = array();
|
130
|
$data['goodList'] = array();
|
131
|
}
|
131
|
}
|
132
|
$data['goodList'] += $condition;
|
132
|
$data['goodList'] += $condition;
|