All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zopen.wechat.mp.dto.message.subscribe.SubscribeMessage Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy