Merge pull request #193 from loeveol/patch-1

模板消息跳转小程序的参数存在错误,官方文档有误。
This commit is contained in:
jinyu 2020-02-20 13:12:48 +08:00 committed by GitHub
commit c530fb84ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,6 +214,7 @@ public class TemplateMessage implements Serializable {
/** /**
* 所需跳转到小程序的具体页面路径支持带参数,示例index?foo=bar * 所需跳转到小程序的具体页面路径支持带参数,示例index?foo=bar
*/ */
@JSONField(name = "page")
private String pagepath; private String pagepath;
public Miniprogram(String appid, String pagepath) { public Miniprogram(String appid, String pagepath) {
this.appid = appid; this.appid = appid;