diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/api/controller/ApiController.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/api/controller/ApiController.java index 1e68f7c..6131293 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/api/controller/ApiController.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/api/controller/ApiController.java @@ -74,6 +74,7 @@ public class ApiController { // if (!"test".equals(profiles)) { // return Result.error("当前环境不支持该功能,请访问测试环境"); // } + log.info("api接口-通用识别请求开始,{}",requestBody); if (requestBody == null) { return Result.error("请输入请求参数"); } @@ -140,7 +141,8 @@ public class ApiController { ocrIdentify.setSourceJson(requestBody.getJSONArray("sourceJson").toJSONString());//校验数据源 ocrIdentifyService.save(ocrIdentify); } -// Thread.sleep(1000L); + log.info("api接口-通用识别请求结束,{}",requestBody); + Thread.sleep(1000L); //3.请求python ocr识别,异步执行 //taskService.postSemantic(ocrIdentify,fileList); //ocrIdentifyService.postSemantic(ocrIdentify, fileList);