lrf402788946 4 years ago
parent
commit
ac6ef0c835
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/service/creeperxtsread.js

+ 2 - 1
app/service/creeperxtsread.js

@@ -78,8 +78,9 @@ class CreeperxtsreadService extends CrudService {
         }
       }
     }
+    console.log(`data length=>${arr.length}`);
     await this.toMq(arr);
-    // await fs.unlinkSync(`${pathread}`);
+    await fs.unlinkSync(`${pathread}`);
   }
 
   async readFileToArr(path_) {