...
|
...
|
@@ -101,7 +101,7 @@ class NewsaleController extends AbstractAction |
|
|
{
|
|
|
$result = array();
|
|
|
|
|
|
// if ($this->isAjax()) {
|
|
|
if ($this->isAjax()) {
|
|
|
$sort = $this->get('sort', null);
|
|
|
$tab_id = $this->get('tab_id', null);
|
|
|
$limit = $this->get('limit', 50);
|
...
|
...
|
@@ -111,7 +111,7 @@ class NewsaleController extends AbstractAction |
|
|
// 获取性别
|
|
|
$gender = Helpers::getGenderByCookie();
|
|
|
$result = \Product\NewsaleModel::selectTopData($gender, $sort, $tab_id, $notab, $limit, $page);
|
|
|
// }
|
|
|
}
|
|
|
|
|
|
if (empty($result)) {
|
|
|
echo ' ';
|
...
|
...
|
|