mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 18:46:10 +08:00 
			
		
		
		
	🎨 #1834 微信会员卡基本信息类增加缺少字段 use_limit
This commit is contained in:
		| @ -14,6 +14,7 @@ import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | |||||||
|  */ |  */ | ||||||
| @Data | @Data | ||||||
| public class BaseInfo implements Serializable { | public class BaseInfo implements Serializable { | ||||||
|  |   private static final long serialVersionUID = 4753535126193166020L; | ||||||
|  |  | ||||||
|   /** |   /** | ||||||
|    * 卡券的商户logo,建议像素为300*300. |    * 卡券的商户logo,建议像素为300*300. | ||||||
| @ -173,6 +174,12 @@ public class BaseInfo implements Serializable { | |||||||
|   @SerializedName("get_limit") |   @SerializedName("get_limit") | ||||||
|   private Integer getLimit = 1; |   private Integer getLimit = 1; | ||||||
|  |  | ||||||
|  |   /** | ||||||
|  |    * 每人可核销的数量限制,不填写默认为50. | ||||||
|  |    */ | ||||||
|  |   @SerializedName("use_limit") | ||||||
|  |   private Integer useLimit = 50; | ||||||
|  |  | ||||||
|   /** |   /** | ||||||
|    * 卡券领取页面是否可分享,默认为true. |    * 卡券领取页面是否可分享,默认为true. | ||||||
|    */ |    */ | ||||||
|  | |||||||
| @ -14,6 +14,7 @@ import java.util.List; | |||||||
|  */ |  */ | ||||||
| @Data | @Data | ||||||
| public class BaseInfoUpdate implements Serializable { | public class BaseInfoUpdate implements Serializable { | ||||||
|  |   private static final long serialVersionUID = -7810188893073599733L; | ||||||
|  |  | ||||||
|   /** |   /** | ||||||
|    * 需要审核:卡券名,字数上限为9个汉字 (建议涵盖卡券属性、服务及金额). |    * 需要审核:卡券名,字数上限为9个汉字 (建议涵盖卡券属性、服务及金额). | ||||||
|  | |||||||
| @ -3,16 +3,21 @@ package me.chanjar.weixin.mp.bean.card; | |||||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||||
| import lombok.Data; | import lombok.Data; | ||||||
|  |  | ||||||
|  | import java.io.Serializable; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @author yqx |  * @author yqx | ||||||
|  * @date 2018/11/07 |  * @date 2018/11/07 | ||||||
|  */ |  */ | ||||||
| @Data | @Data | ||||||
| public class CardUpdateResult { | public class CardUpdateResult implements Serializable { | ||||||
|  |   private static final long serialVersionUID = 6049989267790615497L; | ||||||
|  |  | ||||||
|   private int errcode; |   @SerializedName("errcode") | ||||||
|  |   private int errCode; | ||||||
|  |  | ||||||
|   private String errmsg; |   @SerializedName("errmsg") | ||||||
|  |   private String errMsg; | ||||||
|  |  | ||||||
|   /** |   /** | ||||||
|    * 此次更新是否需要提审,true为需要,false为不需要。 |    * 此次更新是否需要提审,true为需要,false为不需要。 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang