mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-06 05:37:48 +08:00
#999 微信支付发送红包接口中加入结果是否成功的校验判断逻辑
This commit is contained in:
parent
9fd7f7d8dc
commit
9d4847df21
@ -193,8 +193,9 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String responseContent = this.post(url, request.toXML(), true);
|
String responseContent = this.post(url, request.toXML(), true);
|
||||||
//无需校验,因为没有返回签名信息
|
final WxPaySendRedpackResult result = BaseWxPayResult.fromXML(responseContent, WxPaySendRedpackResult.class);
|
||||||
return BaseWxPayResult.fromXML(responseContent, WxPaySendRedpackResult.class);
|
result.checkResult(this, request.getSignType(), true);
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user