Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 解决企业微信红包发送结果中部分属性解析失败的问题 #2125

Merged
merged 1 commit into from
May 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
@NoArgsConstructor
@XStreamAlias("xml")
public class EntPayRedpackResult extends BaseWxPayResult implements Serializable {

private static final long serialVersionUID = 1L;

/**
Expand Down Expand Up @@ -54,14 +55,14 @@ public class EntPayRedpackResult extends BaseWxPayResult implements Serializable
* 付款金额
* 付款金额,单位分
*/
@XStreamAlias("totalAmount")
@XStreamAlias("total_amount")
private String totalAmount;

/**
* 微信单号
* 红包订单的微信单号
*/
@XStreamAlias("sendListid")
@XStreamAlias("send_listid")
private String sendListId;

/**
Expand All @@ -84,8 +85,8 @@ protected void loadXml(Document d) {
mchId = readXmlString(d, "mch_id");
wxAppId = readXmlString(d, "wxappid");
reOpenid = readXmlString(d, "re_openid");
totalAmount = readXmlString(d, "totalAmount");
sendListId = readXmlString(d, "sendListid");
totalAmount = readXmlString(d, "total_amount");
sendListId = readXmlString(d, "send_listid");
senderName = readXmlString(d, "sender_name");
senderHeaderMediaId = readXmlString(d, "sender_header_media_id");
}
Expand Down