com.zopen.wechat.mp.dto.message.subscribe.SubscribeMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zopen-ato-starter Show documentation
Show all versions of zopen-ato-starter Show documentation
Alibaba Tencent And Others For Spring Boot.
package com.zopen.wechat.mp.dto.message.subscribe;
import java.util.Map;
public class SubscribeMessage {
// * 接收者(用户)的 openid
private String touser;
// * 所需下发的订阅模板id
private String template_id;
// 点击模板卡片后的跳转页面,仅限本小程序内的页面。支持带参数,(示例index?foo=bar)。该字段不填则模板无跳转。
private String page;
// * 模板内容
private Map data;
public SubscribeMessage() {
}
public SubscribeMessage(String touser, String template_id, String page, Map data) {
this.touser = touser;
this.template_id = template_id;
this.page = page;
this.data = data;
}
public String getTouser() {
return touser;
}
public void setTouser(String touser) {
this.touser = touser;
}
public String getTemplate_id() {
return template_id;
}
public void setTemplate_id(String template_id) {
this.template_id = template_id;
}
public String getPage() {
return page;
}
public void setPage(String page) {
this.page = page;
}
public Map getData() {
return data;
}
public void setData(Map data) {
this.data = data;
}
}