Update TemplateMessage.java
官方文档在模板消息跳转小程序的参数存在错误,提交的miniprogram参数中的pagepath实际为page,这里只对Json的编码修正即可。
This commit is contained in:
parent
fe3e396113
commit
b494c0a64f
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user