ruifeng_liu 3 年之前
父節點
當前提交
1c8f5c364b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/service/patent/patentwarning.js

+ 2 - 0
app/service/patent/patentwarning.js

@@ -92,6 +92,8 @@ class PatentwarningService extends CrudService {
       arr = fullFileName.split('.');
       // 文件后缀
       const ext = _.last(arr);
+      console.log('file');
+      console.log(file);
       // 图片文件
       const buffer = await fs.readFileSync(file);
       // 新文件名