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("retrieveReviewCompliance",0);
requestBody.put("failureReason",""); requestBody.put("failureReason","");
log.debug("请求无量云回调接口"); log.info("请求无量云回调接口");
JSONObject semanticResponseJson=null; JSONObject semanticResponseJson=null;
try { try {
semanticResponseJson = RestUtil.post("https://192.168.1.21:8686/api/task/image/ocr/callback", requestBody); semanticResponseJson = RestUtil.post("https://192.168.1.21:8686/api/task/image/ocr/callback", requestBody);
}catch (Exception e){ }catch (Exception e){
log.error("请求无量云回调接口失败"); log.info("请求无量云回调接口失败");
}finally { }finally {
log.error(semanticResponseJson.toJSONString()); log.info(semanticResponseJson.toJSONString());
if (semanticResponseJson!=null) { if (semanticResponseJson!=null) {
updateWrapper.set(OcrIdentify::getNoticeStatus,"1"); updateWrapper.set(OcrIdentify::getNoticeStatus,"1");
} }

Loading…
Cancel
Save