|
|
@ -603,7 +603,7 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
headerMap.put("Authorization",md5Encode); |
|
|
|
headerMap.put("Authorization",md5Encode); |
|
|
|
String param = JSONObject.toJSONString(outputInvoiceRequest); |
|
|
|
String param = JSONObject.toJSONString(outputInvoiceRequest); |
|
|
|
if(StringUtils.isNotBlank(param) && param.length() > 400){ |
|
|
|
if(StringUtils.isNotBlank(param) && param.length() > 400){ |
|
|
|
param = param.substring(400); |
|
|
|
param = param.substring(0,400); |
|
|
|
} |
|
|
|
} |
|
|
|
log.info("call image check request url:{},header:{},parameter:{}",invoiceConfig.getSnYxUrl(),JSONObject.toJSONString(headerMap),param); |
|
|
|
log.info("call image check request url:{},header:{},parameter:{}",invoiceConfig.getSnYxUrl(),JSONObject.toJSONString(headerMap),param); |
|
|
|
String body = HttpRequest.post(invoiceConfig.getSnYxUrl()).addHeaders(headerMap).body(JSONObject.toJSONString(outputInvoiceRequest)).timeout(300000).execute().body(); |
|
|
|
String body = HttpRequest.post(invoiceConfig.getSnYxUrl()).addHeaders(headerMap).body(JSONObject.toJSONString(outputInvoiceRequest)).timeout(300000).execute().body(); |
|
|
|