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

@ -91,10 +91,9 @@ public class OcrSimulatorController{
ocrIdentifyDetailService.saveBatch(ocrIdentifyDetailList); ocrIdentifyDetailService.saveBatch(ocrIdentifyDetailList);
//返回前端的json //返回前端的json
JSONObject responseObject=new JSONObject(); responseBody.put("ocrTime",ocrTimeSum);
responseObject.put("ocrTime",ocrTimeSum); responseBody.put("nluTime",nluTimeSum);
responseObject.put("nluTime",nluTimeSum); responseBody.put("detailList",ocrIdentifyDetailList);
responseObject.put("detailList",ocrIdentifyDetailList);
return Result.OK(responseBody); return Result.OK(responseBody);
} }

Loading…
Cancel
Save