Showing
1 changed file
with
2 additions
and
2 deletions
@@ -101,7 +101,7 @@ class NewsaleController extends AbstractAction | @@ -101,7 +101,7 @@ class NewsaleController extends AbstractAction | ||
101 | { | 101 | { |
102 | $result = array(); | 102 | $result = array(); |
103 | 103 | ||
104 | -// if ($this->isAjax()) { | 104 | + if ($this->isAjax()) { |
105 | $sort = $this->get('sort', null); | 105 | $sort = $this->get('sort', null); |
106 | $tab_id = $this->get('tab_id', null); | 106 | $tab_id = $this->get('tab_id', null); |
107 | $limit = $this->get('limit', 50); | 107 | $limit = $this->get('limit', 50); |
@@ -111,7 +111,7 @@ class NewsaleController extends AbstractAction | @@ -111,7 +111,7 @@ class NewsaleController extends AbstractAction | ||
111 | // 获取性别 | 111 | // 获取性别 |
112 | $gender = Helpers::getGenderByCookie(); | 112 | $gender = Helpers::getGenderByCookie(); |
113 | $result = \Product\NewsaleModel::selectTopData($gender, $sort, $tab_id, $notab, $limit, $page); | 113 | $result = \Product\NewsaleModel::selectTopData($gender, $sort, $tab_id, $notab, $limit, $page); |
114 | -// } | 114 | + } |
115 | 115 | ||
116 | if (empty($result)) { | 116 | if (empty($result)) { |
117 | echo ' '; | 117 | echo ' '; |
-
Please register or login to post a comment