Commit 786c50b6 authored by libin's avatar libin

Merge branch 'master-auto-pay' into dev

parents 8a2c8080 b966c12e
...@@ -80,9 +80,6 @@ public class WXSuppToUserPay { ...@@ -80,9 +80,6 @@ public class WXSuppToUserPay {
try { try {
KeyStore keyStore = KeyStore.getInstance("PKCS12"); KeyStore keyStore = KeyStore.getInstance("PKCS12");
// FileInputStream instream = new FileInputStream(new File("E:/cert/apiclient_cert.p12")); // FileInputStream instream = new FileInputStream(new File("E:/cert/apiclient_cert.p12"));
// String path = Thread.currentThread().getContextClassLoader().getResource("/").getPath();
// FileInputStream instream = new FileInputStream(new File(path+"/apiclient_cert.p12"));
// InputStream resourceAsStream = this.getClass().getResourceAsStream("apiclient_cert.p12");
ClassPathResource classPathResource = new ClassPathResource("apiclient_cert.p12"); ClassPathResource classPathResource = new ClassPathResource("apiclient_cert.p12");
InputStream instream = classPathResource.getInputStream(); InputStream instream = classPathResource.getInputStream();
try { try {
......
...@@ -95,7 +95,7 @@ public class WithDrawMqHandler implements InitializingBean { ...@@ -95,7 +95,7 @@ public class WithDrawMqHandler implements InitializingBean {
Long count = valueOperations.increment(orderNo); Long count = valueOperations.increment(orderNo);
if (count <= MAX_RETRY) { if (count <= MAX_RETRY) {
//重新把消息放回队列 //重新把消息放回队列
// basicNack(channel, message.getMessageProperties().getDeliveryTag(), false, true, pay_way); basicNack(channel, message.getMessageProperties().getDeliveryTag(), false, true, pay_way);
try { try {
channel.basicRecover(); channel.basicRecover();
}catch (IOException ex){ }catch (IOException ex){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment