...
|
...
|
@@ -82,7 +82,7 @@ class HomeController extends AbstractAction |
|
|
'hasFavProduct' => $favProducts,
|
|
|
'hasFavBrand' => $favBrands
|
|
|
);
|
|
|
// 判断时候为品牌页
|
|
|
// 判断是否为品牌收藏页
|
|
|
if ($tab === 'brand') {
|
|
|
$data['brandTab'] = true;
|
|
|
}
|
...
|
...
|
@@ -349,10 +349,6 @@ class HomeController extends AbstractAction |
|
|
// 设置网站标题
|
|
|
$this->setTitle('反馈问题');
|
|
|
|
|
|
$param = \Api\Yohobuy::param();
|
|
|
unset($param['private_key']);
|
|
|
$param['project'] = 'suggest';
|
|
|
$param['client_secret'] = 'e7807a9522ab99af8b8fd926e1ebbd9a';
|
|
|
$data = array(
|
|
|
'suggestPage' => true, //加载js
|
|
|
'pageHeader' => array(
|
...
|
...
|
@@ -360,11 +356,9 @@ class HomeController extends AbstractAction |
|
|
'navTitle' => '反馈问题',
|
|
|
'navBtn' => '提交'
|
|
|
),
|
|
|
'param' => $param,
|
|
|
'suggestSub' => true,
|
|
|
'pageFooter' => true
|
|
|
);
|
|
|
//print_r($data);
|
|
|
|
|
|
$this->_view->display('suggest_sub', $data);
|
|
|
}
|
...
|
...
|
|