...
|
...
|
@@ -87,7 +87,7 @@ const index = (req, res) => { |
|
|
],
|
|
|
paginationOpts: {
|
|
|
page: pageNum, // current page: http://host/?page=2
|
|
|
limit: 15, // per_page records' number
|
|
|
limit: 10, // 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: 15, // per_page records' number
|
|
|
limit: 10, // per_page records' number
|
|
|
totalRows: 100 // total page number
|
|
|
}
|
|
|
},
|
...
|
...
|
|