Browse Source

GetBusinessCard 更改返回view

LEIYI 4 months ago
parent
commit
c9a24cad37
1 changed files with 2 additions and 1 deletions
  1. 2 1
      OASystem/OASystem.Api/Controllers/TencentOCRController.cs

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

@@ -951,7 +951,8 @@ namespace OASystem.API.Controllers
 
             #endregion
 
-            return Ok(JsonView(true, "操作成功", new { dataSource = bcData, url = url }));
+            //return Ok(JsonView(true, "操作成功", new { dataSource = bcData, url = url }));
+            return Ok(JsonView(true, "操作成功", new { businessCardInfos = bcData.BusinessCardInfos, url = url }));
 
         }