Skip to content

Commit 1bac8f9

Browse files
authored
🐛 #1883【公众号】修复卡券导入code接口错误的返回类型
1 parent b351ef7 commit 1bac8f9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/WxMpCardCodeDepositResult.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
66

77
import java.io.Serializable;
8+
import java.util.List;
89

910

1011
/**
@@ -15,22 +16,22 @@ public class WxMpCardCodeDepositResult implements Serializable {
1516
private static final long serialVersionUID = 2955588617765355420L;
1617

1718
/**
18-
* 成功个数
19+
* 成功的code
1920
*/
2021
@SerializedName("succ_code")
21-
private Integer succCode;
22+
private List<String> succCode;
2223

2324
/**
24-
* 重复导入的code会自动被过滤
25+
* 重复导入的code
2526
*/
2627
@SerializedName("duplicate_code")
27-
private Integer duplicateCode;
28+
private List<String> duplicateCode;
2829

2930
/**
30-
* 失败个数
31+
* 失败的code
3132
*/
3233
@SerializedName("fail_code")
33-
private Integer failCode;
34+
private List<String> failCode;
3435

3536

3637
public static WxMpCardCodeDepositResult fromJson(String json) {

0 commit comments

Comments
 (0)