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