明树Git Lab

Commit 70349c89 authored by zfp1's avatar zfp1

update

parent 7f68d362
......@@ -1183,7 +1183,7 @@ async function listProject(req, res, next) {
let projectLzTypes = ["1"];
switch (req.body.menuType) {
case "xmlingxuan":
projectLzTypes = ["1", "2"];
projectLzTypes = ["1"];
break;
case "xmlx":
projectLzTypes = ["2","3", "4", "5"];
......@@ -1206,6 +1206,9 @@ async function listProject(req, res, next) {
}
if (req.body.menuType) {
where.projectLzType = { [Op.in]: projectLzTypes }
// if(req.body.menuType == "xmlingxuan") {
// where.projectCreator = req.user.id;
// }
}
console.log(projectLzTypes)
search.order = [['id', 'DESC']];
......
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