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