Skip to content

Commit 8fa9ee4

Browse files
committed
binarywang#918 修复卡劵高级信息中使用时段限制字段time_limit的错误类型
1 parent cf11fa3 commit 8fa9ee4

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/AdvancedInfo.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,14 @@
1111

1212
/**
1313
* 微信会员卡高级字段信息.
14+
*
1415
* @author yuanqixun
1516
* date:2018-08-25 00:36
1617
*/
1718
@Data
1819
public class AdvancedInfo implements Serializable {
1920
private static final long serialVersionUID = -8470424140133771841L;
2021

21-
// public AdvancedInfo(){
22-
// useCondition = new UseCondition();
23-
// abstractInfo = new Abstract();
24-
// textImageList = new ArrayList<>();
25-
// timeLimit = new TimeLimit();
26-
// }
27-
2822
/**
2923
* 使用门槛(条件).
3024
* 若不填写使用条件则在券面拼写 :无最低消费限制,全场通用,不限品类;并在使用说明显示: 可与其他优惠共享
@@ -56,7 +50,7 @@ public class AdvancedInfo implements Serializable {
5650
* 使用时段限制.
5751
*/
5852
@SerializedName("time_limit")
59-
private TimeLimit timeLimit;
53+
private List<TimeLimit> timeLimits;
6054

6155
/**
6256
* 是否可以分享朋友.
@@ -66,7 +60,7 @@ public class AdvancedInfo implements Serializable {
6660

6761
public void addBusinessService(BusinessServiceType businessServiceType) {
6862
if (businessServiceType != null) {
69-
if (businessServiceList == null){
63+
if (businessServiceList == null) {
7064
businessServiceList = new ArrayList<>();
7165
}
7266

0 commit comments

Comments
 (0)