Skip to content

Commit a219035

Browse files
committed
🎨 #1559 微信会员卡基本信息更新接口增加跳转小程序相关的几个参数
1 parent 7ee2772 commit a219035

File tree

2 files changed

+53
-5
lines changed

2 files changed

+53
-5
lines changed

Diff for: weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfo.java

+10-5
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,8 @@ public class BaseInfo implements Serializable {
192192
@SerializedName("need_push_on_view")
193193
private boolean needPushOnView;
194194

195-
196195
/**
197196
* 微信小程序开放功能 小程序&卡券打通部分新增8个字段 https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=1490190158&version=1&lang=zh_CN&platform=2
198-
* @return
199-
*/
200-
201-
/**
202197
* 自定义使用入口跳转小程序的user_name,格式为原始id+@app
203198
*/
204199
@SerializedName("custom_app_brand_user_name")
@@ -229,6 +224,16 @@ public class BaseInfo implements Serializable {
229224
@SerializedName("promotion_app_brand_pass")
230225
private String promotionAppBrandPass;
231226

227+
/**
228+
* 小程序的user_name,
229+
*/
230+
@SerializedName("activate_app_brand_user_name")
231+
private String activateAppBrandUserName;
232+
/**
233+
* 激活小程序页面地址
234+
*/
235+
@SerializedName("activate_app_brand_pass")
236+
private String activateAppBrandPass;
232237

233238
/**
234239
*

Diff for: weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/card/BaseInfoUpdate.java

+43
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,49 @@ public class BaseInfoUpdate implements Serializable {
160160
@SerializedName("date_info")
161161
private DateInfo dateInfo;
162162

163+
/**
164+
* 微信小程序开放功能 小程序&卡券打通部分新增8个字段 https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=1490190158&version=1&lang=zh_CN&platform=2
165+
* 自定义使用入口跳转小程序的user_name,格式为原始id+@app
166+
*/
167+
@SerializedName("custom_app_brand_user_name")
168+
private String customAppBrandUserName;
169+
/**
170+
* 自定义使用入口小程序页面地址
171+
*/
172+
@SerializedName("custom_app_brand_pass")
173+
private String customAppBrandPass;
174+
/**
175+
* 小程序的user_name
176+
*/
177+
@SerializedName("center_app_brand_user_name")
178+
private String centerAppBrandUserName;
179+
/**
180+
* 自定义居中使用入口小程序页面地址
181+
*/
182+
@SerializedName("center_app_brand_pass")
183+
private String centerAppBrandPass;
184+
/**
185+
* 小程序的user_name
186+
*/
187+
@SerializedName("promotion_app_brand_user_name")
188+
private String promotionAppBrandUserName;
189+
/**
190+
* 自定义营销入口小程序页面地址
191+
*/
192+
@SerializedName("promotion_app_brand_pass")
193+
private String promotionAppBrandPass;
194+
195+
/**
196+
* 小程序的user_name,
197+
*/
198+
@SerializedName("activate_app_brand_user_name")
199+
private String activateAppBrandUserName;
200+
/**
201+
* 激活小程序页面地址
202+
*/
203+
@SerializedName("activate_app_brand_pass")
204+
private String activateAppBrandPass;
205+
163206
@Override
164207
public String toString() {
165208
return WxMpGsonBuilder.create().toJson(this);

0 commit comments

Comments
 (0)