🐛 #1959 【微信支付】电商收付通修复请求分账接口异常问题

Co-authored-by: aha <aha>
This commit is contained in:
guicw
2021-01-10 23:21:19 +08:00
committed by GitHub
parent fd58b3f212
commit 04fadf6f71
3 changed files with 20 additions and 4 deletions

View File

@@ -1,10 +1,12 @@
package com.github.binarywang.wxpay.bean.ecommerce;
import com.github.binarywang.wxpay.v3.SpecEncrypt;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;
/**
* 请求分账 对象
@@ -86,7 +88,8 @@ public class ProfitSharingRequest implements Serializable {
* </pre>
*/
@SerializedName(value = "receivers")
private Receiver[] receivers;
@SpecEncrypt
private List<Receiver> receivers;
/**
* <pre>
@@ -186,6 +189,7 @@ public class ProfitSharingRequest implements Serializable {
* </pre>
*/
@SerializedName(value = "receiver_name")
@SpecEncrypt
private String receiverName;
}