配置文件修改

devhuozheluoji
郭向斌 2 years ago
parent c65202d585
commit 1ed303f7c6

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

Loading…
Cancel
Save