Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
9 years ago
Commit
9e07d707cddeb48d0e20f56a72623694c0aeac28
1 parent
39cac2e6
资讯
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/editorial/controllers/editorial.js
apps/editorial/controllers/editorial.js
View file @
9e07d70
...
...
@@ -87,7 +87,7 @@ const index = (req, res) => {
],
paginationOpts
:
{
page
:
pageNum
,
// current page: http://host/?page=2
limit
:
1
5
,
// per_page records' number
limit
:
1
0
,
// per_page records' number
totalRows
:
100
// total page number
}
},
...
...
@@ -149,7 +149,7 @@ const list = (req, res) => {
],
paginationOpts
:
{
page
:
pageNum
,
// current page: http://host/?page=2
limit
:
1
5
,
// per_page records' number
limit
:
1
0
,
// per_page records' number
totalRows
:
100
// total page number
}
},
...
...
Please
register
or
login
to post a comment