明树Git Lab

Commit 918b1dac authored by zengfanpei's avatar zengfanpei

update

parent dfaf3303
......@@ -145,7 +145,9 @@ async function getWSChangeTrend(req, res, next) {
}
},
{$project: {
wsTemperature: {$round: ["$wsTemperature", 2]}
wsTemperature: {$round: ["$wsTemperature", 2]},
wsMoisture: {$round: ["$wsMoisture", 2]},
rainfall: {$round: ["$rainfall", 2]},
}},
{ $sort: { _id: 1 } }
];
......
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