|
|
|
@ -180,7 +180,7 @@ public class SnEmailGatherTask { |
|
|
|
|
hashMap.put("Authorization",md5Encode); |
|
|
|
|
log.info("调用影像票夹接口,调用地址:{},请求头:{},请求参数:{}",snyxPjurl,snyxPjurl,JSONObject.toJSONString(ocrResult)); |
|
|
|
|
String body = HttpRequest.post(snyxPjurl).addHeaders(hashMap).body(JSONObject.toJSONString(ocrResult)).timeout(300000).execute().body(); |
|
|
|
|
log.info("d调用影像票夹接口返回参数:{}",body); |
|
|
|
|
log.info("调用影像票夹接口返回参数:{}",body); |
|
|
|
|
Map resultMap = JSONObject.parseObject(body, Map.class); |
|
|
|
|
Object status = resultMap.get("status"); |
|
|
|
|
if(status != null && "200".equals(String.valueOf(status))){ |
|
|
|
|