...
|
...
|
@@ -177,7 +177,7 @@ class NewsaleController extends AbstractAction |
|
|
$color = $this->get('color', null);
|
|
|
$size = $this->get('size', null);
|
|
|
$price = $this->get('price', null);
|
|
|
$p_d = $this->get('discount', null);
|
|
|
$p_d = '0.1,0.3';
|
|
|
$dayLimit = $this->get('dayLimit', null);
|
|
|
$limit = $this->get('limit', 60);
|
|
|
$page = $this->get('page', 1);
|
...
|
...
|
@@ -191,6 +191,7 @@ class NewsaleController extends AbstractAction |
|
|
$data = NewsaleData::selectNewSaleProducts(
|
|
|
$gender, $brand, $sort, $color, $size, $price, $p_d, $channel, $dayLimit, $limit, $page, $order
|
|
|
);
|
|
|
print_r($data);
|
|
|
$result = \Product\NewsaleModel::filterData($data, $gender);
|
|
|
}
|
|
|
|
...
|
...
|
|