明树Git Lab

Commit bbb3f6c7 authored by zfp1's avatar zfp1

update

parent 5a40ee26
Pipeline #104314 passed with stage
in 3 seconds
...@@ -854,7 +854,7 @@ async function deleteProject(req, res, next) { ...@@ -854,7 +854,7 @@ async function deleteProject(req, res, next) {
async function listProject(req, res, next) { async function listProject(req, res, next) {
try { try {
let page = req.body.page || 1; 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; let offset = (page - 1) * limit;
let search = {}; let search = {};
let where = { del: 0 }; let where = { del: 0 };
......
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