| @@ -11,6 +11,7 @@ import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | |||||
| /** | /** | ||||
| * 微信会员卡高级字段信息. | * 微信会员卡高级字段信息. | ||||
| * | |||||
| * @author yuanqixun | * @author yuanqixun | ||||
| * date:2018-08-25 00:36 | * date:2018-08-25 00:36 | ||||
| */ | */ | ||||
| @@ -18,13 +19,6 @@ import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | |||||
| public class AdvancedInfo implements Serializable { | public class AdvancedInfo implements Serializable { | ||||
| private static final long serialVersionUID = -8470424140133771841L; | private static final long serialVersionUID = -8470424140133771841L; | ||||
| // public AdvancedInfo(){ | |||||
| // useCondition = new UseCondition(); | |||||
| // abstractInfo = new Abstract(); | |||||
| // textImageList = new ArrayList<>(); | |||||
| // timeLimit = new TimeLimit(); | |||||
| // } | |||||
| /** | /** | ||||
| * 使用门槛(条件). | * 使用门槛(条件). | ||||
| * 若不填写使用条件则在券面拼写 :无最低消费限制,全场通用,不限品类;并在使用说明显示: 可与其他优惠共享 | * 若不填写使用条件则在券面拼写 :无最低消费限制,全场通用,不限品类;并在使用说明显示: 可与其他优惠共享 | ||||
| @@ -56,7 +50,7 @@ public class AdvancedInfo implements Serializable { | |||||
| * 使用时段限制. | * 使用时段限制. | ||||
| */ | */ | ||||
| @SerializedName("time_limit") | @SerializedName("time_limit") | ||||
| private TimeLimit timeLimit; | |||||
| private List<TimeLimit> timeLimits; | |||||
| /** | /** | ||||
| * 是否可以分享朋友. | * 是否可以分享朋友. | ||||
| @@ -66,7 +60,7 @@ public class AdvancedInfo implements Serializable { | |||||
| public void addBusinessService(BusinessServiceType businessServiceType) { | public void addBusinessService(BusinessServiceType businessServiceType) { | ||||
| if (businessServiceType != null) { | if (businessServiceType != null) { | ||||
| if (businessServiceList == null){ | |||||
| if (businessServiceList == null) { | |||||
| businessServiceList = new ArrayList<>(); | businessServiceList = new ArrayList<>(); | ||||
| } | } | ||||