Skip to content

Commit 26057b0

Browse files
li362692680binarywang
authored andcommitted
🎨 【微信支付】修改退款结果类,实现序列化,解决rpc调用报错;【开放平台】代码模板添加审核相关字段
1 parent 59074ba commit 26057b0

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/WxOpenMaCodeTemplate.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,22 @@ public class WxOpenMaCodeTemplate implements Serializable {
5858
*/
5959
@SerializedName(value = "sourceMiniProgram", alternate = "source_miniprogram")
6060
private String sourceMiniProgram;
61+
62+
/**
63+
* 标准模板的场景标签;普通模板不返回该值
64+
*/
65+
@SerializedName(value = "auditScene", alternate = "audit_scene")
66+
private Integer auditScene;
67+
68+
/**
69+
* 标准模板的审核状态;普通模板不返回该值
70+
*/
71+
@SerializedName(value = "auditStatus", alternate = "audit_status")
72+
private Integer auditStatus;
73+
74+
/**
75+
* 标准模板的审核驳回的原因,;普通模板不返回该值
76+
*/
77+
@SerializedName(value = "reason")
78+
private String reason;
6179
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ protected void loadXml(Document d) {
228228
@Builder(builderMethodName = "newBuilder")
229229
@NoArgsConstructor
230230
@AllArgsConstructor
231-
public static class RefundRecord {
231+
public static class RefundRecord implements Serializable {
232+
private static final long serialVersionUID=1L;
232233
/**
233234
* <pre>
234235
* 字段名:商户退款单号.

0 commit comments

Comments
 (0)