feature:推送影像系统校验调整

release
gaorl 2 years ago
parent 21b1823fe9
commit 8b8216860c
  1. 7
      order-management-consumer/src/main/java/com/dxhy/order/consumer/modules/manager/service/impl/PushInvoiceServiceImpl.java

@ -596,7 +596,7 @@ public class PushInvoiceServiceImpl implements PushInvoiceService {
} }
try { try {
String md5Encode = MD5.getMd5Encode(invoiceConfig.getSapSalt() + outputInvoiceRequest.getBillNum()); String md5Encode = MD5.getMd5Encode(outputInvoiceRequest.getBillNum() + invoiceConfig.getSapSalt() );
Map<String, String> headerMap = Maps.newHashMap(); Map<String, String> headerMap = Maps.newHashMap();
headerMap.put("Authorization",md5Encode); headerMap.put("Authorization",md5Encode);
log.info("call image check request url:{},header:{},parameter:{}",invoiceConfig.getSnYxUrl(),JSONObject.toJSONString(headerMap),JSONObject.toJSONString(outputInvoiceRequest)); log.info("call image check request url:{},header:{},parameter:{}",invoiceConfig.getSnYxUrl(),JSONObject.toJSONString(headerMap),JSONObject.toJSONString(outputInvoiceRequest));
@ -612,6 +612,11 @@ public class PushInvoiceServiceImpl implements PushInvoiceService {
} }
} }
public static void main(String[] args) {
String salt = "e4b0190b2fadc0adbe54471ffd79a729";
}
private OutputInvoiceRequest buildInvoiceRequest(DdfpxxV5 ddfpxx){ private OutputInvoiceRequest buildInvoiceRequest(DdfpxxV5 ddfpxx){

Loading…
Cancel
Save