明树Git Lab

Commit 18c3ecd1 authored by zfp1's avatar zfp1

update

parent 3a362973
...@@ -28,6 +28,7 @@ async function count(search) { ...@@ -28,6 +28,7 @@ async function count(search) {
async function insertHQData(data) { async function insertHQData(data) {
try {
if(!(data.deviceNumber && data.time)) { if(!(data.deviceNumber && data.time)) {
return; return;
} }
...@@ -38,6 +39,9 @@ async function insertHQData(data) { ...@@ -38,6 +39,9 @@ async function insertHQData(data) {
await DB.CollectSMC.create(data); await DB.CollectSMC.create(data);
} }
return !!check; return !!check;
} catch (error) {
console.log(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