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-11-29 14:13:10 +0800
Commit
1ee93ebf6006dcc36dade513c8003a38a51635b6
2 parents
ed869c98
aa3d6756
Merge branch 'feature/newsKeywords' into 'gray'
'news-app' See merge request
!1109
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/news/models/news-service.js
apps/news/models/news-service.js
View file @
1ee93eb
...
...
@@ -107,7 +107,7 @@ module.exports = class extends global.yoho.BaseModel {
};
return
redis
.
all
([
[
'get'
,
`
global
:
yoho
:
news
:
detail
:
$
{
params
.
id
}
-
$
{
params
.
cid
}
-
param
.
app
`
]
[
'get'
,
`
global
:
yoho
:
news
:
detail
:
$
{
params
.
id
}
-
$
{
params
.
cid
}
-
$
{
params
.
app
}
`
]
]).
then
(
redisData
=>
{
redisData
=
JSON
.
parse
(
redisData
[
0
]
||
'{}'
);
...
...
Please
register
or
login
to post a comment