...
|
...
|
@@ -86,9 +86,10 @@ class NewsaleController extends AbstractAction |
|
|
'headerBanner' => \Product\NewsaleModel::getNewFocus($channel),
|
|
|
'showDownloadApp' => true,
|
|
|
'pageFooter' => true,
|
|
|
'cartUrl' => Helpers::url('/cart/index/index', null),
|
|
|
'cartUrl' => Helpers::url('/product/newsale/selectHotrank', null),
|
|
|
);
|
|
|
|
|
|
// print_r($data);
|
|
|
$this->_view->display('hotrank', $data);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -114,10 +115,11 @@ class NewsaleController extends AbstractAction |
|
|
$result = \Product\NewsaleModel::selectTopData($data);
|
|
|
}
|
|
|
|
|
|
// print_r($result);
|
|
|
if (empty($result)) {
|
|
|
echo ' ';
|
|
|
} else {
|
|
|
$this->_view->display('product', $result);
|
|
|
$this->_view->display('hotList', $result);
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|