mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-05 21:27:47 +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);
|
||||
//无需校验,因为没有返回签名信息
|
||||
return BaseWxPayResult.fromXML(responseContent, WxPaySendRedpackResult.class);
|
||||
final WxPaySendRedpackResult result = BaseWxPayResult.fromXML(responseContent, WxPaySendRedpackResult.class);
|
||||
result.checkResult(this, request.getSignType(), true);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user