Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
7330b077cb3e2ecce0f36266e1d96fd943d552b7
2 parents
cdd4fc28
aceac503
Merge branch 'test' of git.dev.yoho.cn:web/yohobuy into test
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/controllers/Search.php
yohobuy/m.yohobuy.com/application/controllers/Search.php
View file @
7330b07
...
...
@@ -151,6 +151,9 @@ class SearchController extends AbstractAction
// 右下角的购物车链接
$data
[
'goodList'
][
'cartUrl'
]
=
Helpers
::
url
(
'/cart/index/index'
,
null
);
// 显示底部悬浮下载
$data
[
'showDownloadApp'
]
=
true
;
// // 查询数据
// if (!isset($condition['query'])) {
...
...
@@ -219,6 +222,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'])) {
...
...
Please
register
or
login
to post a comment