Authored by Rock Zhang

Merge branch 'test' of git.dev.yoho.cn:web/yohobuy into test

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