ruifeng_liu 3 년 전
부모
커밋
da1ace930b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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文件失败');