瀏覽代碼

GetBusinessCard 更改返回view

LEIYI 8 月之前
父節點
當前提交
c9a24cad37
共有 1 個文件被更改,包括 2 次插入1 次删除
  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 }));
 
         }