...
|
...
|
@@ -127,7 +127,6 @@ class IndexController extends AbstractAction |
|
|
{
|
|
|
/* 品牌域名参数 @see Bootstrap.php */
|
|
|
$domain = $this->param('named');
|
|
|
// $domain = 'andybrier';
|
|
|
if (empty($domain)) {
|
|
|
$this->go(SITE_MAIN);
|
|
|
}
|
...
|
...
|
@@ -136,10 +135,11 @@ class IndexController extends AbstractAction |
|
|
// 存标题信息
|
|
|
$title = '';
|
|
|
//TODO 如果是app,可直接获取shopId
|
|
|
// $appShopId = $this->get('shop_id');
|
|
|
// if ($this->isApp() && !empty($appShopId)) {
|
|
|
// $this->shop($appShopId);
|
|
|
// }
|
|
|
$appShopId = $this->get('shop_id');
|
|
|
if ($this->isApp() && !empty($appShopId)) {
|
|
|
$this->shop($appShopId);
|
|
|
exit;
|
|
|
}
|
|
|
$brandLogo = Product\ListModel::getBrandLogoByDomain($domain, $title);
|
|
|
//TODO 无店铺:0--->品牌页 无单品店有多品店:1--->搜索页 有单品店:2--->店铺页面
|
|
|
//TODO 通过品牌域名获取店铺shopId 先固定shopId = 672
|
...
|
...
|
|