...
|
...
|
@@ -76,7 +76,6 @@ class HomeController extends AbstractAction |
|
|
$favProducts = \Index\UserModel::getFavProductData($uid);
|
|
|
$favBrands = \Index\UserModel::getFavBrandData($uid, $gender);
|
|
|
|
|
|
//print_r($favProducts);
|
|
|
$data = array(
|
|
|
'favPage' => true, //加载js
|
|
|
'pageFooter' => true,
|
...
|
...
|
@@ -329,6 +328,7 @@ class HomeController extends AbstractAction |
|
|
$page = $this->get('page', 1);
|
|
|
$limit = $this->get('limit', 10);
|
|
|
$uid = $this->getUid();
|
|
|
$uid=5687179;
|
|
|
$gender = Helpers::getGenderByCookie();
|
|
|
$yh_channel = Helpers::getChannelByCookie();
|
|
|
$guangInfo = \home\GuangModel::getMyGuang($uid, $page, $yh_channel, $gender, $limit);
|
...
|
...
|
@@ -346,7 +346,7 @@ class HomeController extends AbstractAction |
|
|
}
|
|
|
else if ($page > 1 && $page>$totalPage)
|
|
|
{
|
|
|
echo '';//退出循环
|
|
|
echo ' ';//退出循环
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -382,10 +382,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(
|
...
|
...
|
@@ -393,11 +389,9 @@ class HomeController extends AbstractAction |
|
|
'navTitle' => '反馈问题',
|
|
|
'navBtn' => '提交'
|
|
|
),
|
|
|
'param' => $param,
|
|
|
'suggestSub' => true,
|
|
|
'pageFooter' => true
|
|
|
);
|
|
|
//print_r($data);
|
|
|
|
|
|
$this->_view->display('suggest_sub', $data);
|
|
|
}
|
...
|
...
|
|