Parcourir la source

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

dev1
S il y a 5 ans
committed by GitHub
Parent
révision
ea444f2263
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
3 fichiers modifiés avec 35 ajouts et 1 suppressions
  1. +13
    -0
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/MemberCard.java
  2. +13
    -0
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/MemberCardUpdate.java
  3. +9
    -1
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/membercard/WxMpMemberCardUpdateMessage.java

+ 13
- 0
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/MemberCard.java Voir le fichier

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


+ 13
- 0
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/MemberCardUpdate.java Voir le fichier

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


+ 9
- 1
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/membercard/WxMpMemberCardUpdateMessage.java Voir le fichier

@@ -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个汉字
*/


Chargement…
Annuler
Enregistrer