|
|
@ -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){ |
|
|
|
|
|
|
|
|
|
|
|