mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 16:18:51 +08:00
🐛 #2125 【微信支付】修复企业微信红包发送结果中部分属性解析失败的问题
Signed-off-by: sunlong <2013855675@qq.com>
This commit is contained in:
parent
3d1c1ba475
commit
fa5d892176
@ -20,6 +20,7 @@ import java.io.Serializable;
|
|||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@XStreamAlias("xml")
|
@XStreamAlias("xml")
|
||||||
public class EntPayRedpackResult extends BaseWxPayResult implements Serializable {
|
public class EntPayRedpackResult extends BaseWxPayResult implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -54,14 +55,14 @@ public class EntPayRedpackResult extends BaseWxPayResult implements Serializable
|
|||||||
* 付款金额
|
* 付款金额
|
||||||
* 付款金额,单位分
|
* 付款金额,单位分
|
||||||
*/
|
*/
|
||||||
@XStreamAlias("totalAmount")
|
@XStreamAlias("total_amount")
|
||||||
private String totalAmount;
|
private String totalAmount;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 微信单号
|
* 微信单号
|
||||||
* 红包订单的微信单号
|
* 红包订单的微信单号
|
||||||
*/
|
*/
|
||||||
@XStreamAlias("sendListid")
|
@XStreamAlias("send_listid")
|
||||||
private String sendListId;
|
private String sendListId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -84,8 +85,8 @@ public class EntPayRedpackResult extends BaseWxPayResult implements Serializable
|
|||||||
mchId = readXmlString(d, "mch_id");
|
mchId = readXmlString(d, "mch_id");
|
||||||
wxAppId = readXmlString(d, "wxappid");
|
wxAppId = readXmlString(d, "wxappid");
|
||||||
reOpenid = readXmlString(d, "re_openid");
|
reOpenid = readXmlString(d, "re_openid");
|
||||||
totalAmount = readXmlString(d, "totalAmount");
|
totalAmount = readXmlString(d, "total_amount");
|
||||||
sendListId = readXmlString(d, "sendListid");
|
sendListId = readXmlString(d, "send_listid");
|
||||||
senderName = readXmlString(d, "sender_name");
|
senderName = readXmlString(d, "sender_name");
|
||||||
senderHeaderMediaId = readXmlString(d, "sender_header_media_id");
|
senderHeaderMediaId = readXmlString(d, "sender_header_media_id");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user