Authored by hf

modify search brand no data

... ... @@ -152,6 +152,9 @@ class SearchController extends AbstractAction
// 右下角的购物车链接
$data['goodList']['cartUrl'] = Helpers::url('/cart/index/index', null);
// 显示底部悬浮下载
$data['showDownloadApp'] = true;
// // 查询数据
// if (!isset($condition['query'])) {
... ... @@ -220,6 +223,9 @@ class SearchController extends AbstractAction
$type = $this->get('type', '');
$order = $this->get('order', 0);
$condition['order'] = Helpers::transOrder($order, $type);
// 过滤掉值为空的条件
$condition = array_filter($condition);
// /* 模糊搜索关键词 */
// if (isset($condition['query'])) {
... ...