明树Git Lab

Commit 7e883e12 authored by zfp1's avatar zfp1

update

parent 000f0274
Pipeline #104138 passed with stage
in 3 seconds
...@@ -272,7 +272,7 @@ async function saveProjectPreLixiang(req, res, next) { ...@@ -272,7 +272,7 @@ async function saveProjectPreLixiang(req, res, next) {
let ret = await xiangmulixianggengxin(body); let ret = await xiangmulixianggengxin(body);
return res.sendData(ret); return res.sendData(ret);
} catch (error) { } catch (error) {
next(error);
} }
} }
...@@ -984,8 +984,8 @@ async function getOwnProjects(req, res, next) { ...@@ -984,8 +984,8 @@ async function getOwnProjects(req, res, next) {
search.raw = true; search.raw = true;
console.log(JSON.stringify(search), "-==") console.log(JSON.stringify(search), "-==")
let ret = await DB.Project.findAndCountAll(search); let ret = await DB.Project.findAndCountAll(search);
let lastRet = await projectModule.handleProjectData(ret, search.attributes); // let lastRet = await projectModule.handleProjectData(ret, search.attributes);
return res.sendData(lastRet); return res.sendData(ret);
} catch (error) { } catch (error) {
next(error); next(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