ruifeng_liu 3 years ago
parent
commit
da1ace930b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/service/patent/patentwarning.js

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

@@ -166,6 +166,7 @@ class PatentwarningService extends CrudService {
    * @param {String} filePath xml的文件路径
    */
   async dealXml(filePath) {
+    console.log(filePath);
     const buffer = await fs.readFileSync(filePath);
     let str = encoding.convert(buffer, 'UTF8', 'GBK');
     if (!str) throw new BusinessError(ErrorCode.FILE_FAULT, '读取xml文件失败');