소스 검색

#999 微信支付发送红包接口中加入结果是否成功的校验判断逻辑

master
Binary Wang 6 년 전
부모
커밋
9d4847df21
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java

+ 3
- 2
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java 파일 보기

@@ -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


불러오는 중...
취소
저장