Authored by Rock Zhang

修复折扣专区传递discount默认参数错误的bug

@@ -58,7 +58,6 @@ class NewsaleController extends AbstractAction @@ -58,7 +58,6 @@ class NewsaleController extends AbstractAction
58 $this->channelTrans($channel); 58 $this->channelTrans($channel);
59 59
60 $data = array(); 60 $data = array();
61 - $data['discount'] = true;  
62 $data['headerBanner'] = \Product\NewsaleModel::getNewFocus($channel); 61 $data['headerBanner'] = \Product\NewsaleModel::getNewFocus($channel);
63 $goodsList = \Product\NewsaleModel::getSaleProducts($channel, 60); 62 $goodsList = \Product\NewsaleModel::getSaleProducts($channel, 60);
64 if (!empty($goodsList)) { 63 if (!empty($goodsList)) {
@@ -132,7 +131,7 @@ class NewsaleController extends AbstractAction @@ -132,7 +131,7 @@ class NewsaleController extends AbstractAction
132 131
133 $data = NewsaleData::selectNewSaleProducts( 132 $data = NewsaleData::selectNewSaleProducts(
134 $gender, $brand, $sort, $color, 133 $gender, $brand, $sort, $color,
135 - $size, $price, $p_d, $channel, $dayLimit, $limit, $page 134 + $size, $price, $p_d, $channel, $dayLimit, $limit, $page, $order
136 ); 135 );
137 $result = \Product\NewsaleModel::selectData($data); 136 $result = \Product\NewsaleModel::selectData($data);
138 137