Skip to content

Commit b12a7a8

Browse files
jink2005binarywang
authored andcommitted
修复微信支付回调sign校验错误的bug (binarywang#266)
1 parent eaad636 commit b12a7a8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,24 @@ public class WxPayOrderNotifyResult extends WxPayBaseResult implements Serializa
8989
@XStreamAlias("bank_type")
9090
private String bankType;
9191

92+
/**
93+
* <pre>
94+
* 用户是否关注子公众账号
95+
* String(1)
96+
* Y-关注,N-未关注,仅在公众账号类型支付有效
97+
* </pre>
98+
*/
99+
@XStreamAlias("sub_is_subscribe")
100+
private String subIsSubscribe;
101+
102+
/**
103+
* <pre>
104+
* 用户在子商户appid下的唯一标识
105+
* String(128)
106+
* </pre>
107+
*/
108+
@XStreamAlias("sub_openid")
109+
private String subOpenId;
92110

93111
/**
94112
* <pre>
@@ -293,6 +311,22 @@ public void setBankType(String bankType) {
293311
this.bankType = bankType;
294312
}
295313

314+
public String getSubIsSubscribe() {
315+
return subIsSubscribe;
316+
}
317+
318+
public void setSubIsSubscribe(String subIsSubscribe) {
319+
this.subIsSubscribe = subIsSubscribe;
320+
}
321+
322+
public String getSubOpenId() {
323+
return subOpenId;
324+
}
325+
326+
public void setSubOpenId(String subOpenId) {
327+
this.subOpenId = subOpenId;
328+
}
329+
296330
public Integer getTotalFee() {
297331
return totalFee;
298332
}

0 commit comments

Comments
 (0)