明树Git Lab

Commit 80800420 authored by zfp1's avatar zfp1

update

parent 50737437
......@@ -215,7 +215,8 @@ async function getJiankong(req, res, next) {
}
if (traccode.indEnvOnOff) {
// 工业环境
let iet = await DB.CollectIET.findOne().sort({ time: -1 }).lean();
traccode.iet = iet;
}
let companyInfo = await DB.CompanyInfo.findOne({}, { gcImg: 1, jdImg: 1 }).populate({ path: "gcImg" }).populate({ path: "jdImg" });
traccode.gcImg = companyInfo.gcImg;
......
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