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
Plain Diff
Browse Files
Authored by
zzzzzzz
2016-11-24 11:36:12 +0800
Commit
3be93237c7b0a0dab6257b876a2d5d828842c44e
2 parents
50cff909
3241a8a0
Merge branch 'release/5.2' of git.yoho.cn:fe/yohobuywap-node into release/5.2
Show 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 @
3be9323
...
...
@@ -184,7 +184,7 @@ const search = (req, res, next) => {
params
.
isApp
=
req
.
yoho
.
isApp
;
searchModel
.
getSearchData
(
params
).
then
((
result
)
=>
{
if
(
result
.
list
.
length
>
0
)
{
if
(
result
.
list
&&
result
.
list
.
length
>
0
)
{
res
.
render
(
'search/page'
,
{
layout
:
false
,
new
:
result
.
list
,
...
...
Please
register
or
login
to post a comment