明树Git Lab

Commit b3ee49e4 authored by zfp1's avatar zfp1

1

parent 8c42ba1c
Pipeline #108303 passed with stage
in 3 seconds
......@@ -99,7 +99,7 @@ async function listResource(req, res, next) {
try {
let search = { where: { del: 0 } };
let page = req.body.page || 1;
let limit = req.body.pageSize || 10;
let limit = req.body.pagesize || req.body.pageSize || 10;
//翻页
let offset = (page - 1) * limit;
if (req.body.name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment