Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

卡券内跳转小程序部分,补充卡券内跳转参数 #1195

Merged
merged 2 commits into from
Sep 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,53 @@ 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")
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@ public class CustomCell1 implements Serializable {
@SerializedName("url")
private String url;

/**
* 参考https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1499332673_Unm7V卡券内跳转小程序参数说明:会员卡自定义入口,包含以下两个字段
*/
/**
* 自定义入口小程序user_name,格式为原始id+@app.
*/
@SerializedName("app_brand_user_name")
private String appBrandUserName;
/**
* 自定义入口小程序的页面路径.
*/
@SerializedName("app_brand_pass")
private String appBrandPass;


@Override
public String toString() {
return WxMpGsonBuilder.create().toJson(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@ public class CustomField implements Serializable {
@SerializedName("url")
private String url;

/**
* 参考https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1499332673_Unm7V卡券内跳转小程序参数说明:会员卡顶部的信息类目字段,包含以下两个字段
*/
/**
* 自定义信息类目小程序user_name,格式为原始id+@app
*/
@SerializedName("app_brand_user_name")
private String appBrandUserName;
/**
* 自定义信息类目小程序的页面路径
*/
@SerializedName("app_brand_pass")
private String appBrandPass;



public String getNameType() {
return nameType;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,30 @@ public final class MemberCard implements Serializable {
@SerializedName("wx_activate_after_submit_url")
private String wxActivateAfterSubmitUrl;

/**
* 参照https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1499332673_Unm7V卡券内跳转小程序
*/
/**
* 积分信息类目对应的小程序 user_name,格式为原始id+@app
*/
@SerializedName("bonus_app_brand_user_name")
private String bonusAppBrandUserName;
/**
*积分入口小程序的页面路径
*/
@SerializedName("bonus_app_brand_pass")
private String bonusAppBrandPass;
/**
*余额信息类目对应的小程序 user_name,格式为原始id+@app
*/
@SerializedName("balance_app_brand_user_name")
private String balanceAppBrandUserName;
/**
*余额入口小程序的页面路径
*/
@SerializedName("balance_app_brand_pass")
private String balanceAppBrandPass;

@Override
public String toString() {
return WxMpGsonBuilder.create().toJson(this);
Expand Down