Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
e9b3c13135bcafdb0af0084310d81c16f149e75d
1 parent
e685a968
search index return
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 @
e9b3c13
...
...
@@ -32,7 +32,7 @@ exports.index = (req, res, next) => {
return
;
}
search
.
getSearchData
(
params
,
req
.
yoho
.
channel
).
then
(
result
=>
{
return
search
.
getSearchData
(
params
,
req
.
yoho
.
channel
).
then
(
result
=>
{
Object
.
assign
(
resData
,
result
);
if
(
!
_
.
get
(
resData
,
'search.goods'
)
||
!
_
.
get
(
resData
,
'search.goods'
).
length
)
{
...
...
Please
register
or
login
to post a comment