mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
优化微信支付请求代码
This commit is contained in:
@@ -119,7 +119,7 @@ public abstract class WxPayBaseRequest {
|
||||
try {
|
||||
BeanUtils.checkRequiredFields(this);
|
||||
} catch (WxErrorException e) {
|
||||
throw new WxPayException(e.getError().getErrorMsg());
|
||||
throw new WxPayException(e.getError().getErrorMsg(), e);
|
||||
}
|
||||
|
||||
//check other parameters
|
||||
|
||||
Reference in New Issue
Block a user