-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Milestone
Description
简要描述
下单回调通知,因代码问题,解析报错
模块版本情况
- WxJava 模块名: pay
- WxJava 版本号:4.7.2.B
详细描述
这里有问题,新版本configMap的key 不再是mchId ,而是mchId + "_" + appId:
configMap.get(result.getMchId()).getSignType()
if (signType == null) {
if (result.getSignType() != null) {
// 如果解析的通知对象中signType有值,则使用它进行验签
signType = result.getSignType();
} else if (configMap.get(result.getMchId()).getSignType() != null) {
// 如果配置中signType有值,则使用它进行验签
signType = configMap.get(result.getMchId()).getSignType();
this.switchover(result.getMchId(), result.getAppid());
}
}
private String getConfigKey(String mchId, String appId) {
return mchId + "_" + appId;
}
日志
Metadata
Metadata
Assignees
Labels
No labels