...
|
...
|
@@ -1187,6 +1187,10 @@ class HelperSearch |
|
|
}
|
|
|
$queryPath = explode('?', $_SERVER['REQUEST_URI']);
|
|
|
$params_arr = array();
|
|
|
//店铺装修,添加额外参数
|
|
|
if (empty($params['shopId']) && isset($_REQUEST['shopId'])) {
|
|
|
$params['shopId'] = $_REQUEST['shopId'];
|
|
|
}
|
|
|
foreach ($params as $key => $val) {
|
|
|
if (is_array($val) || $val === '') {
|
|
|
continue;
|
...
|
...
|
@@ -1322,6 +1326,10 @@ class HelperSearch |
|
|
if (!empty(self::$specialsaleParam)) {
|
|
|
$url[0] .= '?' . http_build_query(self::$specialsaleParam);
|
|
|
}
|
|
|
//店铺装修,添加额外参数
|
|
|
if (empty($urlParam['shopId']) && isset($_REQUEST['shopId'])) {
|
|
|
$urlParam['shopId'] = $_REQUEST['shopId'];
|
|
|
}
|
|
|
if (isset(self::$params['query'])) {
|
|
|
$urlParam['query'] = self::$params['query'];
|
|
|
}
|
...
|
...
|
@@ -1441,7 +1449,7 @@ class HelperSearch |
|
|
if (self::$total == 0 || empty($shopSort)) {
|
|
|
return $shopEntry;
|
|
|
}
|
|
|
$url = Helpers::url('', '', $shop['brand_domain']);
|
|
|
$url = Helpers::url('', array('shopId' => $shop['shop_id']), $shop['brand_domain']);
|
|
|
$sort = array();
|
|
|
$sortInfo = array();
|
|
|
foreach ($shopSort as $msort) {
|
...
|
...
|
|