From d3c06e1fee49dd441199a18b84019b49ffd92590 Mon Sep 17 00:00:00 2001 From: zhouwentao <1577701412@qq.com> Date: Tue, 22 Aug 2023 16:39:11 +0800 Subject: [PATCH] updates --- .../modules/ocr/controller/OcrSimulatorController.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/ocr/controller/OcrSimulatorController.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/ocr/controller/OcrSimulatorController.java index 67f070f..85a436b 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/ocr/controller/OcrSimulatorController.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/ocr/controller/OcrSimulatorController.java @@ -91,10 +91,9 @@ public class OcrSimulatorController{ ocrIdentifyDetailService.saveBatch(ocrIdentifyDetailList); //返回前端的json - JSONObject responseObject=new JSONObject(); - responseObject.put("ocrTime",ocrTimeSum); - responseObject.put("nluTime",nluTimeSum); - responseObject.put("detailList",ocrIdentifyDetailList); + responseBody.put("ocrTime",ocrTimeSum); + responseBody.put("nluTime",nluTimeSum); + responseBody.put("detailList",ocrIdentifyDetailList); return Result.OK(responseBody); }