diff --git a/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfo.java b/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfo.java index f7ed2ed95c..8d73460d00 100644 --- a/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfo.java +++ b/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfo.java @@ -192,13 +192,8 @@ public class BaseInfo implements Serializable { @SerializedName("need_push_on_view") private boolean needPushOnView; - /** * 微信小程序开放功能 小程序&卡券打通部分新增8个字段 https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=1490190158&version=1&lang=zh_CN&platform=2 - * @return - */ - - /** * 自定义使用入口跳转小程序的user_name,格式为原始id+@app */ @SerializedName("custom_app_brand_user_name") @@ -229,6 +224,16 @@ public class BaseInfo implements Serializable { @SerializedName("promotion_app_brand_pass") private String promotionAppBrandPass; + /** + * 小程序的user_name, + */ + @SerializedName("activate_app_brand_user_name") + private String activateAppBrandUserName; + /** + * 激活小程序页面地址 + */ + @SerializedName("activate_app_brand_pass") + private String activateAppBrandPass; /** * diff --git a/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfoUpdate.java b/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfoUpdate.java index 44b92eff4d..b0ec28082d 100644 --- a/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfoUpdate.java +++ b/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfoUpdate.java @@ -160,6 +160,49 @@ public class BaseInfoUpdate implements Serializable { @SerializedName("date_info") private DateInfo dateInfo; + /** + * 微信小程序开放功能 小程序&卡券打通部分新增8个字段 https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=1490190158&version=1&lang=zh_CN&platform=2 + * 自定义使用入口跳转小程序的user_name,格式为原始id+@app + */ + @SerializedName("custom_app_brand_user_name") + private String customAppBrandUserName; + /** + * 自定义使用入口小程序页面地址 + */ + @SerializedName("custom_app_brand_pass") + private String customAppBrandPass; + /** + * 小程序的user_name + */ + @SerializedName("center_app_brand_user_name") + private String centerAppBrandUserName; + /** + * 自定义居中使用入口小程序页面地址 + */ + @SerializedName("center_app_brand_pass") + private String centerAppBrandPass; + /** + * 小程序的user_name + */ + @SerializedName("promotion_app_brand_user_name") + private String promotionAppBrandUserName; + /** + * 自定义营销入口小程序页面地址 + */ + @SerializedName("promotion_app_brand_pass") + private String promotionAppBrandPass; + + /** + * 小程序的user_name, + */ + @SerializedName("activate_app_brand_user_name") + private String activateAppBrandUserName; + /** + * 激活小程序页面地址 + */ + @SerializedName("activate_app_brand_pass") + private String activateAppBrandPass; + @Override public String toString() { return WxMpGsonBuilder.create().toJson(this);