package com.njzscloud.supervisory.wxPay.contant;

/**
 * @author ljw
 */
public class WxApiConfig {

    public static final String APP_ID = "wxcf5b818c19c51c07";

    public static final String APP_SECRET = "35f72f3d49a9e24c618b82eb624538c8";

    public static final String REDIRECT_URI = "https://supervisory.njzscloud.com/test/bind/index.html";

    // 静默授权，仅获取OpenID
    public static final String SCOPE = "snsapi_base";
    // String scope = "snsapi_userinfo"; // 非静默授权，可获取用户昵称、头像等更多信息[citation:1]

    public static final String ENC = "UTF-8";

    public static final String OAUTH_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?";

    public static final String GET_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=";

    public static final String SEND_TEMPLATE_MSG_URL = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";

    public static final String TICKET_URL = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=";

    public static final String XCX_APP_ID = "wx989ea47a5ddf9bfb";
}
