...
|
...
|
@@ -89,7 +89,6 @@ class NewsaleController extends AbstractAction |
|
|
'cartUrl' => Helpers::url('/product/newsale/selectHotrank', null),
|
|
|
);
|
|
|
|
|
|
// print_r($data);
|
|
|
$this->_view->display('hotrank', $data);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -105,7 +104,7 @@ class NewsaleController extends AbstractAction |
|
|
if ($this->isAjax()) {
|
|
|
$sort = $this->get('sort', null);
|
|
|
$tab_id = $this->get('tab_id', null);
|
|
|
$limit = $this->get('limit', 50);
|
|
|
$limit = $this->get('limit', 34);
|
|
|
$page = $this->get('page', 1);
|
|
|
|
|
|
// 获取性别
|
...
|
...
|
@@ -115,11 +114,10 @@ class NewsaleController extends AbstractAction |
|
|
$result = \Product\NewsaleModel::selectTopData($data);
|
|
|
}
|
|
|
|
|
|
// print_r($result);
|
|
|
if (empty($result)) {
|
|
|
echo ' ';
|
|
|
} else {
|
|
|
$this->_view->display('hotList', $result);
|
|
|
$this->_view->display('hotlist', $result);
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|