Explorar el Código

🎨 #1483 微信支付异步通知解析时使用通知里的签名类型进行验签

dev1
Binary Wang hace 5 años
padre
commit
61e6221bd7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java

+ 1
- 1
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java Ver fichero

@@ -155,7 +155,7 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
log.debug("微信支付异步通知请求参数:{}", xmlData);
WxPayOrderNotifyResult result = WxPayOrderNotifyResult.fromXML(xmlData);
log.debug("微信支付异步通知请求解析后的对象:{}", result);
result.checkResult(this, this.getConfig().getSignType(), false);
result.checkResult(this, result.getSignType(), false);
return result;
} catch (WxPayException e) {
throw e;


Cargando…
Cancelar
Guardar