diff --git a/weixin4j-mp/src/main/java/com/foxinmy/weixin4j/mp/oldpayment/PayPackageV2.java b/weixin4j-mp/src/main/java/com/foxinmy/weixin4j/mp/oldpayment/PayPackageV2.java index b2102a8b..1fd0ca9f 100644 --- a/weixin4j-mp/src/main/java/com/foxinmy/weixin4j/mp/oldpayment/PayPackageV2.java +++ b/weixin4j-mp/src/main/java/com/foxinmy/weixin4j/mp/oldpayment/PayPackageV2.java @@ -75,8 +75,15 @@ public class PayPackageV2 extends PayPackage { double totalFee, String notifyUrl, String createIp, String attach, Date timeStart, Date timeExpire, double transportFee, double productFee, String goodsTag) { - super(body, outTradeNo, totalFee, notifyUrl, createIp, attach, - timeStart, timeExpire, goodsTag); + setBody(body); + setOutTradeNo(outTradeNo); + setTotalFee(totalFee); + setNotifyUrl(notifyUrl); + setCreateIp(createIp); + setAttach(attach);; + setTimeStart(timeStart); + setTimeExpire(timeExpire); + setGoodsTag(goodsTag); this.bankType = "WX"; this.feeType = "1"; this.inputCharset = "UTF-8"; @@ -142,4 +149,4 @@ public class PayPackageV2 extends PayPackage { + ", productFee=" + productFee + ", inputCharset=" + inputCharset + ", " + super.toString() + "]"; } -} +} \ No newline at end of file