|
@@ -177,7 +177,7 @@ class NewsaleController extends AbstractAction |
|
@@ -177,7 +177,7 @@ class NewsaleController extends AbstractAction |
177
|
$color = $this->get('color', null);
|
177
|
$color = $this->get('color', null);
|
178
|
$size = $this->get('size', null);
|
178
|
$size = $this->get('size', null);
|
179
|
$price = $this->get('price', null);
|
179
|
$price = $this->get('price', null);
|
180
|
- $p_d = $this->get('discount', null);
|
180
|
+ $p_d = '0.1,0.3';
|
181
|
$dayLimit = $this->get('dayLimit', null);
|
181
|
$dayLimit = $this->get('dayLimit', null);
|
182
|
$limit = $this->get('limit', 60);
|
182
|
$limit = $this->get('limit', 60);
|
183
|
$page = $this->get('page', 1);
|
183
|
$page = $this->get('page', 1);
|
|
@@ -191,6 +191,7 @@ class NewsaleController extends AbstractAction |
|
@@ -191,6 +191,7 @@ class NewsaleController extends AbstractAction |
191
|
$data = NewsaleData::selectNewSaleProducts(
|
191
|
$data = NewsaleData::selectNewSaleProducts(
|
192
|
$gender, $brand, $sort, $color, $size, $price, $p_d, $channel, $dayLimit, $limit, $page, $order
|
192
|
$gender, $brand, $sort, $color, $size, $price, $p_d, $channel, $dayLimit, $limit, $page, $order
|
193
|
);
|
193
|
);
|
|
|
194
|
+ print_r($data);
|
194
|
$result = \Product\NewsaleModel::filterData($data, $gender);
|
195
|
$result = \Product\NewsaleModel::filterData($data, $gender);
|
195
|
}
|
196
|
}
|
196
|
|
197
|
|