Skip to content

Commit

Permalink
#1195 添加微信卡券跳转小程序缺少的参数
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyixin8854 authored and binarywang committed Sep 7, 2019
1 parent c2107fa commit de191a9
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
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

0 comments on commit de191a9

Please sign in to comment.