...
|
...
|
@@ -26,10 +26,6 @@ class NewsaleController extends AbstractAction |
|
|
$data = array();
|
|
|
$data['newArrivalPage'] = true;
|
|
|
$data['headerBanner'] = \Product\NewsaleModel::getNewFocus($channel);
|
|
|
$goodsList = \Product\NewsaleModel::getNewProducts($channel, 60);
|
|
|
if (!empty($goodsList)) {
|
|
|
$data += $goodsList;
|
|
|
}
|
|
|
// 设置一些筛选的默认参数
|
|
|
$data += array(
|
|
|
'showDownloadApp'=>true,
|
...
|
...
|
@@ -60,10 +56,6 @@ class NewsaleController extends AbstractAction |
|
|
$data = array();
|
|
|
$data['discountPage'] = true;
|
|
|
$data['headerBanner'] = \Product\NewsaleModel::getNewFocus($channel);
|
|
|
$goodsList = \Product\NewsaleModel::getSaleProducts($channel, 60);
|
|
|
if (!empty($goodsList)) {
|
|
|
$data += $goodsList;
|
|
|
}
|
|
|
// 设置一些筛选的默认参数
|
|
|
$data += array(
|
|
|
'showDownloadApp'=>true,
|
...
|
...
|
|