...
|
...
|
@@ -105,14 +105,13 @@ class HelperSearch |
|
|
//分类
|
|
|
$result['leftContent'][]['allSort'] = isset($filter['group_sort']) ? self::groupSort($filter['group_sort'], $options) : array();
|
|
|
//一周新品上架
|
|
|
//$result['leftContent'][]['newSales'] = self::recentShelve($filter['recent']);
|
|
|
$result['leftContent'][]['newSales'] = isset($filter['recent']) ? self::recentShelve($filter['recent']) : array();
|
|
|
//全部折扣
|
|
|
//$result['leftContent'][]['allDiscount'] = self::getDiscount($filter['discount']);
|
|
|
$result['leftContent'][]['allDiscount'] = isset($filter['discount']) ? self::getDiscount($filter['discount']) : array();
|
|
|
//总记录数
|
|
|
$result['totalCount'] = $data['data']['total'];
|
|
|
//分页
|
|
|
$result['pager'] = self::pager($result['totalCount'],$options['viewNum']);
|
|
|
//echo $result['pager']; exit;
|
|
|
//选中条件
|
|
|
$result['filters']['checkedConditions']['conditions'] = self::getSelected();
|
|
|
$result['pathNav'] = self::$listnav;
|
...
|
...
|
|