明树Git Lab

Commit 2fcce280 authored by zfp1's avatar zfp1

update

parent 27d6c920
......@@ -5,7 +5,7 @@
async function findCompInfo(req, res, next) {
try {
return await DB.CompanyInfo.findOne({}).populate({path: "companyInfoImgs"}).lean().exec();
return await DB.CompanyInfo.findOne({}).populate({path: "companyInfoImgs"}).populate({path: "addressInfo.img"}).lean().exec();
} catch (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