fix: 修复退款数据中时间无法解析的异常

这个问题是 Jackson在进行反序列化的时候需要声明对Java 8 时间包的支持。

Closes #13
This commit is contained in:
felord.cn
2021-03-01 22:44:17 +08:00
committed by felord.cn
parent cecee81b08
commit 64d8294758

View File

@@ -65,6 +65,11 @@ public class RefundConsumeData {
* 退款入账账户 * 退款入账账户
*/ */
private String userReceivedAccount; private String userReceivedAccount;
/**
* 金额信息
*/
private Amount amount;
/** /**
* 微信支付退款金额信息 * 微信支付退款金额信息
@@ -85,7 +90,6 @@ public class RefundConsumeData {
/** /**
* 用户实际支付金额,单位为分 * 用户实际支付金额,单位为分
*/ */
private Integer payerTotal; private Integer payerTotal;
/** /**
* 退款给用户的金额,单位为分,不包含所有优惠券金额 * 退款给用户的金额,单位为分,不包含所有优惠券金额