Skip to content

Commit

Permalink
🎨 #1519 会员卡相关接口优化,补充部分字段
Browse files Browse the repository at this point in the history
  • Loading branch information
silloy authored Apr 18, 2020
1 parent dc01e0b commit ea444f2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,19 @@ public final class MemberCard implements Serializable {
@SerializedName("custom_cell1")
private CustomCell1 customCell1;

/**
* 自定义会员信息类目,会员卡激活后显示.
*/
@SerializedName("custom_cell2")
private CustomCell1 customCell2;


/**
* 自定义会员信息类目,会员卡激活后显示.
*/
@SerializedName("custom_cell3")
private CustomCell1 customCell3;

/**
* 积分规则,JSON结构积分规则.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,19 @@ public final class MemberCardUpdate implements Serializable {
@SerializedName("custom_cell1")
private CustomCell1 customCell1;

/**
* 自定义会员信息类目,会员卡激活后显示.
*/
@SerializedName("custom_cell2")
private CustomCell1 customCell2;


/**
* 自定义会员信息类目,会员卡激活后显示.
*/
@SerializedName("custom_cell3")
private CustomCell1 customCell3;

/**
* 积分规则,JSON结构积分规则.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,18 @@ public class WxMpMemberCardUpdateMessage implements Serializable {
*/
private Integer bonus;
/**
* 本次积分变动值,传负数代表减少
* 本次积分变动值,传负数代表减少,错误单词,只是为了保持兼容
*/
@Deprecated
@SerializedName("add_bonus")
private Integer addBounus;


/**
* 本次积分变动值,传负数代表减少
*/
@SerializedName("add_bonus")
private Integer addBonus;
/**
* 商家自定义积分消耗记录,不超过14个汉字
*/
Expand Down

0 comments on commit ea444f2

Please sign in to comment.