master
周文涛 2 years ago
parent 6bd8c26095
commit 8629ed02dd

@ -308,6 +308,9 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
JSONObject semanticResponseJson = null;
try {
semanticResponseJson = RestUtil.post("https://192.168.1.21:8686/api/task/image/ocr/callback", requestBody);
} catch (org.springframework.web.client.ResourceAccessException e){
log.error("请求无量云回调接口失败-拒绝连接 (Connection refused)");
log.error(e.getMessage());
} catch (Exception e) {
log.info("请求无量云回调接口失败");
e.printStackTrace();

Loading…
Cancel
Save