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
周少峰
2017-08-30 14:41:44 +0800
Commit
1b623c73a1bfa733c8953b389868e35030fd3923
1 parent
97db439f
del json parse
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/product/models/detail-product-api.js
apps/product/models/detail-product-api.js
View file @
1b623c7
...
...
@@ -14,7 +14,7 @@ const uuid = require('uuid');
function
_cacheGet
(
key
)
{
return
cache
.
get
(
key
).
then
((
data
)
=>
{
if
(
data
)
{
return
JSON
.
parse
(
data
)
;
return
data
;
}
return
Promise
.
reject
();
...
...
Please
register
or
login
to post a comment