jeequan / jeepay

Jeepay是一套适合互联网企业使用的开源支付系统,支持多渠道服务商和普通商户模式。已对接微信支付,支付宝,云闪付官方接口,支持聚合码支付。

Home Page:https://www.jeequan.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

渠道回调方法每次都设置自动获取微信平台证书,是有特别的场景考虑吗?

GongLe opened this issue · comments

commented

渠道回调方法每次都设置自动获取微信平台证书 ,实际上微信支付工具包初始化时已存在自动更新,是有特别的场景考虑吗?
com/jeequan/jeepay/pay/channel/wxpay/WxpayChannelRefundNoticeService.java:190

com.github.binarywang.wxpay.config.WxPayConfig#getVerifier
@SneakyThrows
public Verifier getVerifier() {
if (verifier == null) {
//当改对象为null时,初始化api v3的请求头
initApiV3HttpClient();
}
return verifier;
}

image
image