Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在支付结果通知类WxPayOrderNotifyResult中添加了checkResult方法 #828

Merged
merged 1 commit into from
Nov 1, 2018

Conversation

SunshineTech
Copy link

该方法重写了基类中的同名方法。
return_code为SUCCESS时,如果sign为空,则该通知请求是非微信通知请求,因此抛出异常。
否则,调用基类同名方法。

该方法重写了基类中的同名方法。
return_code为SUCCESS时,如果sign为空,则该通知请求是非微信通知请求,因此抛出异常。
否则,调用基类同名方法。
@binarywang binarywang merged commit f379769 into binarywang:develop Nov 1, 2018
@binarywang
Copy link
Owner

你这代码都没在本地编译过吧?居然还有编译错误

@SunshineTech
Copy link
Author

不好意思,忘了下面这两句:

import com.github.binarywang.wxpay.exception.WxPayException;
import com.github.binarywang.wxpay.service.WxPayService;

@binarywang
Copy link
Owner

没事了,我后来做了点优化

comeonc added a commit to comeonc/weixin-java-tools that referenced this pull request Nov 13, 2018
…nto wechat-develop

* 'develop' of github.com:Wechat-Group/weixin-java-tools: (31 commits)
  xml代码优化
  发布3.2.4.B测试版本
  微信支付增加对账单下载返回原始字符串数据的downloadRawBill方法
  微信支付模块配置中增加ifSaveApiData参数,可以选择是否保存接口请求信息到ThreadLocal中方便读取
  update xstream to 1.4.10
  binarywang#841 增加会员卡更新接口
  binarywang#651 WxMpXmlMessage增加allFieldsMap属性, 用于存放所有xml属性和值。
  增加xml解析工具类
  binarywang#835 小程序模块增加微信运动数据解密方法
  发布3.2.3.B测试版本
  优化代码
  优化代码,替换掉ToStringBuilder.reflectionToString相关代码
  binarywang#833 小程序模块增加错误码
  优化对账方法
  调整test
  binarywang#821 查询企业付款结果接口的结果类增加payment_time属性
  binarywang#830 修复微信支付退款通知解析代码在某些环境下可能会出现的乱码问题
  尽量使用常量
  binarywang#828 优化支付结果通知类的checkResult方法
  binarywang#829 优化退款结果通知类的fromXML方法
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants