package com.usky.iot.constant;

public class constant {
    // 微信公众号的 app_id
    public static final String WE_CHAT_APP_ID = "wx24286e0c45f8da1c";
    // 微信公众号的 secret
    public static final String WE_CHAT_SECRET = "d605d3efaaad559a8e6a327870b48ce8";
    // 微信公众号的 access_token
    public static final String WE_CHAT_ACCESS_TOKEN = "**********";
    // 微信公众号code获取地址
    public static final String WE_CHAT_CODE_URL = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=%s&state=STATE#wechat_redirect";
    // 回调地址，获取open_id
    public static final String WE_CHAT_CALL_BACK_DOMAIN_URL = "http://localhost:9887/weChat/getWeChatOpenId";
    // 回调域名
    public static final String call_back_domain = "manager.usky.cn";
    // 微信公众号的token获取地址
    public static final String WE_CHAT_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";
    // 微信公众号消息推送地址
    public static final String WE_CHAT_REQUEST_URL = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=%s";
    // 微信公众号推送消息模板id
    public static final String WE_CHAT_TEMPLATE_ID = "FmrNuMzgh0E8bWg1j8a2R3zTmRarHYtZ72TSzPrF9Iw";
    // 微信公众号的消息回调地址（这儿可根据业务需求自定义动作，可选）
    public static final String WE_CHAT_CUSTOMER_CALL_URL = "http://manager.usky.cn/mobile/#/pages/common/textview/index?id=%s";
    // 微信公众号的主题颜色
    public static final String WE_CHAT_TOP_COLOR = "#A349A4";
    // 微信公众号微信用户授权地址
    public static final String WE_CHAT_AUTHORIZATION_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
    // 微信公众号登录前端部署相对路径
    public static final String WE_CHAT_LOGIN = "/mobile/#/pages/login";
    // 微信公众号首页前端部署相对路径
    public static final String WE_CHAT_INDEX = "/mobile/#/pages/index";

}
