master
周文涛 2 years ago
parent 1ecf45fd04
commit d3c06e1fee

@ -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);
}

Loading…
Cancel
Save