明树Git Lab

Commit e69f4187 authored by zfp1's avatar zfp1

updatte

parent 33924f9f
Pipeline #104196 passed with stage
in 3 seconds
......@@ -837,12 +837,14 @@ async function listProject(req, res, next) {
if(req.body.menuType) {
where.projectLzType = {[Op.in]: projectLzTypes}
}
console.log(projectLzTypes)
search.where = where;
search.limit = limit;
search.offset = offset;
if (req.body.attributes && req.body.attributes.length) {
search.attributes = req.body.attributes;
}
console.log(search)
let ret = await DB.Project.findAndCountAll(search);
return res.sendData(ret);
} catch (error) {
......
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