lrf402788946 4 年之前
父节点
当前提交
ac6ef0c835
共有 1 个文件被更改,包括 2 次插入1 次删除
  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_) {