ruifeng_liu пре 3 година
родитељ
комит
d93281a2da
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/service/patent/patentwarning.js

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

@@ -35,6 +35,7 @@ class PatentwarningService extends CrudService {
     await compressing.zip.uncompress(uri, `${uncompressFilePath}`);
     await compressing.zip.uncompress(uri, `${uncompressFilePath}`);
     // 找到
     // 找到
     const filePaths = await this.findFileNameLoop(uncompressFilePath, fileName);
     const filePaths = await this.findFileNameLoop(uncompressFilePath, fileName);
+    console.log(filePaths);
     const xmlPath = filePaths.find(f => f.includes('.xml'));
     const xmlPath = filePaths.find(f => f.includes('.xml'));
     const create_number = await this.dealXml(xmlPath);
     const create_number = await this.dealXml(xmlPath);
     if (!create_number) throw new BusinessError(ErrorCode.FILE_FAULT, '未找到申请号');
     if (!create_number) throw new BusinessError(ErrorCode.FILE_FAULT, '未找到申请号');