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
刘传洋
2016-09-20 16:53:34 +0800
Commit
5d3857b650350aed16d89623debf8c0ff08b1bfd
1 parent
effec077
cache mod
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
apps/product/models/search-api.js
apps/product/models/search-api.js
View file @
5d3857b
...
...
@@ -126,7 +126,9 @@ const getSortList = (params) => {
}
else
{
return
yohoApi
.
get
(
''
,
finalParams
).
then
(
ret
=>
{
cache
.
set
(
cKey
,
ret
);
if
(
ret
&&
ret
.
code
===
200
)
{
cache
.
set
(
cKey
,
ret
);
}
return
ret
;
});
}
...
...
Please
register
or
login
to post a comment