#918 修复卡劵高级信息中使用时段限制字段time_limit的错误类型

This commit is contained in:
Binary Wang 2019-01-20 14:07:40 +08:00
parent cf11fa3826
commit 8fa9ee4dc6

View File

@ -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<>();
} }