...
|
...
|
@@ -20,6 +20,7 @@ class IndexController extends WebAction |
|
|
$brandInfo = BrandData::getBrandLogoByDomain($domain);
|
|
|
if(!empty($brandInfo['data']) && $brandInfo['code'] === 200){
|
|
|
$brandId = $brandInfo['data']['id'];
|
|
|
$node = isset($brandInfo['static_content_code']) ? $brandInfo['static_content_code'] : false;
|
|
|
}else{
|
|
|
$this->go(SITE_MAIN);
|
|
|
}
|
...
|
...
|
@@ -92,7 +93,7 @@ class IndexController extends WebAction |
|
|
|
|
|
$params = $condition + $_GET;
|
|
|
$params = array_filter($params);
|
|
|
$data = Product\BrandsModel::getBrandSearchData($params,$options,$domain,$uid,$brandId);
|
|
|
$data = Product\BrandsModel::getBrandSearchData($params,$options,$domain,$uid,$brandId,$node);
|
|
|
$cate = array('boys','girls','kids','lifestyle');
|
|
|
$this->setWebNavHeader($cate[$gender-1]);
|
|
|
//渲染模板
|
...
|
...
|
|