mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-02 20:02:37 +08:00
✨ #1195 添加微信卡券跳转小程序缺少的参数
This commit is contained in:
parent
c2107faf57
commit
de191a9c2f
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user