|
|
|
@ -232,7 +232,9 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
|
|
|
|
|
requestBody.put("taskType", "identify");
|
|
|
|
|
requestBody.put("parameter", id + "," + taskId + "," + identifyUrl);
|
|
|
|
|
//发送任务请求 到 redis
|
|
|
|
|
pushTask(requestBody);
|
|
|
|
|
Result result = pushTask(requestBody);
|
|
|
|
|
log.info("---------------");
|
|
|
|
|
log.info(result.toString());
|
|
|
|
|
/*semanticResponseJson = RestUtil.post(OcrConstant.api_test_identify_url, requestBody);
|
|
|
|
|
semanticResponseJson.put("task_id", id);
|
|
|
|
|
this.getSemanticInfo(semanticResponseJson);*/
|
|
|
|
|