明树Git Lab

Commit 7529168d authored by zfp1's avatar zfp1

update

parent b77eba1f
......@@ -34,7 +34,7 @@ async function insertHQData(data) {
}
// return await DB.CollectSMC.findOneAndUpdate({time: data.time}, data, {upsert: true})
let check = await DB.CollectSMC.findOne({time: data.time});
console.log(err, "--------20241219", check);
// console.log(err, "--------20241219", check);
if(!check) {
// 没有就新增
await DB.CollectSMC.create(data).catch(err => {
......
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