Skip to content

Commit 189bcdc

Browse files
li362692680Binary Wang
authored andcommitted
🎨 修复分账执行接口金额类型错误问题
1 parent c872fa9 commit 189bcdc

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/request/ProfitSharingV3Request.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@ public static class Receiver implements Serializable {
127127
@SerializedName("account")
128128
private String account;
129129

130+
/**
131+
* <pre>
132+
* 字段名:分账金额
133+
* 是否必填:是
134+
* 描述: 分账金额,单位为分,只能为整数,不能超过原订单支付金额及最大分账比例金额
135+
* </pre>
136+
*/
137+
@SerializedName("amount")
138+
private Integer amount;
139+
130140
/**
131141
* <pre>
132142
* 字段名:分账个人接收方姓名

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/result/ProfitSharingResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static class Receiver implements Serializable {
133133
* </pre>
134134
*/
135135
@SerializedName("amount")
136-
private Long amount;
136+
private Integer amount;
137137

138138
/**
139139
* <pre>

0 commit comments

Comments
 (0)