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

cn.net.wanmo.plugin.wechat.officialaccount.Config Maven / Gradle / Ivy

package cn.net.wanmo.plugin.wechat.officialaccount;

/**
 * 微信公众号 配置信息
 */
public class Config {
    /**
     * 公众号标题
     */
    public static String appTitle = "";
    /**
     * 公众号ID
     */
    public static String appId = "";
    /**
     * 公众号密钥
     */
    public static String appSecret = "";
    /**
     * 用作生成签名(该Token会和接口URL中包含的Token进行比对,从而验证安全性)
     */
    public static String signToken = "";
    /**
     * 用作消息体加解密密钥
     */
    public static String encodingAESKey = "";

    public Config() {
    }

    public void setAppTitle(String appTitle) {
        Config.appTitle = appTitle;
    }

    public void setAppId(String appId) {
        Config.appId = appId;
    }

    public void setAppSecret(String appSecret) {
        Config.appSecret = appSecret;
    }

    public void setSignToken(String signToken) {
        Config.signToken = signToken;
    }

    public void setEncodingAESKey(String encodingAESKey) {
        Config.encodingAESKey = encodingAESKey;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy