明树Git Lab

Commit dc838111 authored by zfp1's avatar zfp1

update

parent 4d19ed0c
......@@ -24,6 +24,7 @@ async function updateCompInfo(req, res, next) {
newAdr.push(element);
}
body.addressInfo = newAdr;
console.log(body, "===========================")
let ret = await DB.CompanyInfo.findOneAndUpdate({_id: body._id},body);
return res.sendData(ret);
......
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