File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/entpay Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2020@ NoArgsConstructor
2121@ XStreamAlias ("xml" )
2222public class EntPayRedpackResult extends BaseWxPayResult implements Serializable {
23+
2324 private static final long serialVersionUID = 1L ;
2425
2526 /**
@@ -54,14 +55,14 @@ public class EntPayRedpackResult extends BaseWxPayResult implements Serializable
5455 * 付款金额
5556 * 付款金额,单位分
5657 */
57- @ XStreamAlias ("totalAmount " )
58+ @ XStreamAlias ("total_amount " )
5859 private String totalAmount ;
5960
6061 /**
6162 * 微信单号
6263 * 红包订单的微信单号
6364 */
64- @ XStreamAlias ("sendListid " )
65+ @ XStreamAlias ("send_listid " )
6566 private String sendListId ;
6667
6768 /**
@@ -84,8 +85,8 @@ protected void loadXml(Document d) {
8485 mchId = readXmlString (d , "mch_id" );
8586 wxAppId = readXmlString (d , "wxappid" );
8687 reOpenid = readXmlString (d , "re_openid" );
87- totalAmount = readXmlString (d , "totalAmount " );
88- sendListId = readXmlString (d , "sendListid " );
88+ totalAmount = readXmlString (d , "total_amount " );
89+ sendListId = readXmlString (d , "send_listid " );
8990 senderName = readXmlString (d , "sender_name" );
9091 senderHeaderMediaId = readXmlString (d , "sender_header_media_id" );
9192 }
You can’t perform that action at this time.
0 commit comments