|
|
@ -47,10 +47,12 @@ public class ControlAnswerResolveServiceImpl implements IAnswerResolveService { |
|
|
|
String body = HttpRequest.post(url).body(JSON.toJSONString(param)).execute().body(); |
|
|
|
String body = HttpRequest.post(url).body(JSON.toJSONString(param)).execute().body(); |
|
|
|
params.put("data",body); |
|
|
|
params.put("data",body); |
|
|
|
log.info("识别结果为:{}", body); |
|
|
|
log.info("识别结果为:{}", body); |
|
|
|
|
|
|
|
ExtraVO result = originExtra.toJavaObject(ExtraVO.class); |
|
|
|
|
|
|
|
result.setType(FunctionConstants.TypeEnum.IMAGE_TEXT.getType()); |
|
|
|
|
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
ExtraVO result = originExtra.toJavaObject(ExtraVO.class); |
|
|
|
ExtraVO result = originExtra.toJavaObject(ExtraVO.class); |
|
|
|
result.setType(FunctionConstants.TypeEnum.IMAGE_TEXT.getType()); |
|
|
|
|
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|