Skip to content

Commit

Permalink
🎨 binarywang#1834 微信会员卡基本信息类增加缺少字段 use_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
binarywang committed Oct 31, 2020
1 parent 7fdfe2c commit c584cd0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/
@Data
public class BaseInfo implements Serializable {
private static final long serialVersionUID = 4753535126193166020L;

/**
* 卡券的商户logo,建议像素为300*300.
Expand Down Expand Up @@ -173,6 +174,12 @@ public class BaseInfo implements Serializable {
@SerializedName("get_limit")
private Integer getLimit = 1;

/**
* 每人可核销的数量限制,不填写默认为50.
*/
@SerializedName("use_limit")
private Integer useLimit = 50;

/**
* 卡券领取页面是否可分享,默认为true.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/
@Data
public class BaseInfoUpdate implements Serializable {
private static final long serialVersionUID = -7810188893073599733L;

/**
* 需要审核:卡券名,字数上限为9个汉字 (建议涵盖卡券属性、服务及金额).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,21 @@
import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;

/**
* @author yqx
* @date 2018/11/07
*/
@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为不需要。
Expand Down

0 comments on commit c584cd0

Please sign in to comment.