ruifeng_liu 3 anni fa
parent
commit
1c8f5c364b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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);
       // 新文件名