Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
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
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
2dc3a59389d9073052b6ffd53d460a70833796a3
1 parent
5150a1ee
query to toString && toLowerCase
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/product/controllers/search.js
apps/product/controllers/search.js
View file @
2dc3a59
...
...
@@ -22,7 +22,7 @@ const list = (req, res, next) => {
cartUrl
:
helpers
.
urlFormat
(
'/cart/index/index'
)
},
req
.
query
);
let
title
=
''
;
let
query
=
req
.
query
.
query
;
let
query
=
(
req
.
query
.
query
||
''
).
toString
()
;
let
isQueryFirstClass
=
false
;
// 标识用户搜的是不是一级品类
let
isQuerySecondClass
=
false
;
// 标识用户搜的是不是二级品类
let
domain
=
null
;
...
...
Please
register
or
login
to post a comment