mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-28 20:43:42 +08:00
🎨 #1519 会员卡相关接口优化,补充部分字段
This commit is contained in:
@ -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结构积分规则.
|
||||
*/
|
||||
|
||||
@ -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结构积分规则.
|
||||
*/
|
||||
|
||||
@ -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个汉字
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user