Browse Source

ocr 组织结构代码修改

leiy 9 months ago
parent
commit
503f6f6500
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OASystem/OASystem.Api/Controllers/TencentOCRController.cs

+ 1 - 1
OASystem/OASystem.Api/Controllers/TencentOCRController.cs

@@ -505,7 +505,7 @@ namespace OASystem.API.Controllers
                 content += $"有效期:{occInfo.ValidDate}\n";
             }
 
-            if (dto.language == 2) content = await YouDaoApiTools.GetOCR_ReTrans(content);
+            if (dto.language == 2) { fileName = "组织结构识别[EN]"; content = await YouDaoApiTools.GetOCR_ReTrans(content); }
 
             string url = NPOICreateWord(fileName, content);