🎨 #1519 会员卡相关接口优化,补充部分字段

This commit is contained in:
S
2020-04-18 11:53:21 +08:00
committed by GitHub
parent dc01e0b1ed
commit ea444f2263
3 changed files with 35 additions and 1 deletions

View File

@ -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结构积分规则.
*/

View File

@ -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结构积分规则.
*/

View File

@ -39,11 +39,19 @@ public class WxMpMemberCardUpdateMessage implements Serializable {
* 需要设置的积分全量值,传入的数值会直接显示
*/
private Integer bonus;
/**
* 本次积分变动值,传负数代表减少,错误单词,只是为了保持兼容
*/
@Deprecated
@SerializedName("add_bonus")
private Integer addBounus;
/**
* 本次积分变动值,传负数代表减少
*/
@SerializedName("add_bonus")
private Integer addBounus;
private Integer addBonus;
/**
* 商家自定义积分消耗记录不超过14个汉字
*/