master
周文涛 2 years ago
parent 903d4f23de
commit f52600fa68

@ -280,14 +280,14 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
}
requestBody.put("retrieveReviewCompliance",0);
requestBody.put("failureReason","");
log.debug("请求无量云回调接口");
log.info("请求无量云回调接口");
JSONObject semanticResponseJson=null;
try {
semanticResponseJson = RestUtil.post("https://192.168.1.21:8686/api/task/image/ocr/callback", requestBody);
}catch (Exception e){
log.error("请求无量云回调接口失败");
log.info("请求无量云回调接口失败");
}finally {
log.error(semanticResponseJson.toJSONString());
log.info(semanticResponseJson.toJSONString());
if (semanticResponseJson!=null) {
updateWrapper.set(OcrIdentify::getNoticeStatus,"1");
}

Loading…
Cancel
Save