mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-23 21:56:06 +08:00
修复被误修改的红包相关参数
This commit is contained in:
parent
27117ee38a
commit
2629f63a8e
@ -1,13 +1,13 @@
|
||||
package com.github.binarywang.wxpay.bean.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Created by Binary Wang on 2016-11-28.
|
||||
@ -220,7 +220,7 @@ public class WxPayRedpackQueryResult extends BaseWxPayResult {
|
||||
* 字段说明: 裂变红包的领取列表
|
||||
* </pre>
|
||||
*/
|
||||
@XStreamAlias("redpackList")
|
||||
@XStreamAlias("hblist")
|
||||
private List<RedpackInfo> redpackList;
|
||||
|
||||
@Data
|
||||
|
@ -30,13 +30,13 @@ public class WxPayRedpackQueryResultTest {
|
||||
"<total_num>1</total_num>\n" +
|
||||
"<total_amount>100</total_amount>\n" +
|
||||
"<send_time><![CDATA[2018-01-23 13:45:08]]></send_time>\n" +
|
||||
"<redpackList>\n" +
|
||||
"<hblist>\n" +
|
||||
"<hbinfo>\n" +
|
||||
"<openid><![CDATA[o3yHF0uHuckI3yE6lwWiFQBQdVDI]]></openid>\n" +
|
||||
"<amount>100</amount>\n" +
|
||||
"<rcv_time><![CDATA[2018-01-23 13:45:31]]></rcv_time>\n" +
|
||||
"</hbinfo>\n" +
|
||||
"</redpackList>\n" +
|
||||
"</hblist>\n" +
|
||||
"</xml>";
|
||||
|
||||
WxPayRedpackQueryResult orderQueryResult = WxPayRedpackQueryResult.fromXML(xmlString, WxPayRedpackQueryResult.class);
|
||||
|
Loading…
Reference in New Issue
Block a user