File tree Expand file tree Collapse file tree
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 */
1515@ Data
1616public class BaseInfo implements Serializable {
17+ private static final long serialVersionUID = 4753535126193166020L ;
1718
1819 /**
1920 * 卡券的商户logo,建议像素为300*300.
@@ -173,6 +174,12 @@ public class BaseInfo implements Serializable {
173174 @ SerializedName ("get_limit" )
174175 private Integer getLimit = 1 ;
175176
177+ /**
178+ * 每人可核销的数量限制,不填写默认为50.
179+ */
180+ @ SerializedName ("use_limit" )
181+ private Integer useLimit = 50 ;
182+
176183 /**
177184 * 卡券领取页面是否可分享,默认为true.
178185 */
Original file line number Diff line number Diff line change 1414 */
1515@ Data
1616public class BaseInfoUpdate implements Serializable {
17+ private static final long serialVersionUID = -7810188893073599733L ;
1718
1819 /**
1920 * 需要审核:卡券名,字数上限为9个汉字 (建议涵盖卡券属性、服务及金额).
Original file line number Diff line number Diff line change 33import com .google .gson .annotations .SerializedName ;
44import lombok .Data ;
55
6+ import java .io .Serializable ;
7+
68/**
79 * @author yqx
810 * @date 2018/11/07
911 */
1012@ Data
11- public class CardUpdateResult {
13+ public class CardUpdateResult implements Serializable {
14+ private static final long serialVersionUID = 6049989267790615497L ;
1215
13- private int errcode ;
16+ @ SerializedName ("errcode" )
17+ private int errCode ;
1418
15- private String errmsg ;
19+ @ SerializedName ("errmsg" )
20+ private String errMsg ;
1621
1722 /**
1823 * 此次更新是否需要提审,true为需要,false为不需要。
You can’t perform that action at this time.
0 commit comments