...
|
...
|
@@ -51,13 +51,10 @@ class SearchController extends AbstractAction |
|
|
if (isset($condition['discount'])) {
|
|
|
$condition['p_d'] = rawurldecode($condition['discount']);
|
|
|
// unset($condition['discount']); 为了兼容js中传参的discount
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
}
|
|
|
// 为了兼容现在运营在用的p_d
|
|
|
if (isset($condition['p_d'])) {
|
|
|
$condition['discount'] = rawurldecode($condition['p_d']);
|
|
|
>>>>>>> master
|
|
|
}
|
|
|
if (isset($condition['query'])) {
|
|
|
$condition['query'] = rawurlencode($condition['query']);
|
...
|
...
|
@@ -236,13 +233,10 @@ class SearchController extends AbstractAction |
|
|
if (isset($condition['price'])) {
|
|
|
$condition['price'] = rawurldecode($condition['price']);
|
|
|
}
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
// 转义风格
|
|
|
if (isset($condition['style'])) {
|
|
|
$condition['style'] = rawurldecode($condition['style']);
|
|
|
}
|
|
|
>>>>>>> master
|
|
|
// 转换折扣
|
|
|
if (isset($condition['discount'])) {
|
|
|
$condition['p_d'] = rawurldecode($condition['discount']);
|
...
|
...
|
@@ -331,13 +325,10 @@ class SearchController extends AbstractAction |
|
|
if (isset($condition['price'])) {
|
|
|
$condition['price'] = rawurldecode($condition['price']);
|
|
|
}
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
// 转义风格
|
|
|
if (isset($condition['style'])) {
|
|
|
$condition['style'] = rawurldecode($condition['style']);
|
|
|
}
|
|
|
>>>>>>> master
|
|
|
|
|
|
// 区别各种列表页面的筛选数据
|
|
|
$data = Product\SearchModel::getFilterData($condition);
|
...
|
...
|
|