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
毕凯
2017-09-21 17:13:52 +0800
Commit
14d1ee9244ad23cda26c7c08fb9048e8acd3a748
2 parents
e2009ff7
a929e867
Merge branch 'hotfix/chanpin' into 'release/6.1'
seo保留前12条数据 See merge request
!924
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
apps/product/models/search.js
apps/product/models/search.js
View file @
14d1ee9
...
...
@@ -599,7 +599,9 @@ const getSearchKeywordDataById = (id, params, uid) => {
result
.
queryKey
=
params
.
query
;
if
(
!
_
.
isEmpty
(
redisData
.
data
))
{
_
.
forEach
(
redisData
.
data
,
value
=>
{
let
tdata
=
_
.
slice
(
redisData
.
data
,
0
,
12
);
_
.
forEach
(
tdata
,
value
=>
{
if
(
!
value
)
{
return
;
}
...
...
Please
register
or
login
to post a comment