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);
       // 新文件名