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-02-24 10:26:35 +0800
Commit
fe0ccb7b38b5d3d64af695d45b711ba822c73245
1 parent
df418dc9
m
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/cart/controllers/cart.js
apps/cart/controllers/cart.js
View file @
fe0ccb7
...
...
@@ -374,7 +374,7 @@ const getRecommendProductAction = (req, res) => {
let
page
=
Number
(
req
.
query
.
page
||
1
);
let
ret
;
if
(
page
<=
0
||
page
>=
6
)
{
if
(
page
<=
0
||
page
>=
6
)
{
page
=
1
;
}
...
...
Please
register
or
login
to post a comment