package org.cs.web.weixin;

/**
 * Created by zhaoxinguo on 2017/7/11.
 */
public class WeiXinQiYeConstants {

    // 企业应用的id
    public static final String AGENTID = "1000016";

    // 企业ID
    public static final String CORPID = "ww58e5ac0190d9b3fc";

    // 应用的凭证密钥
    public static final String CORPSECRET = "tGOJ4OtO6Oq8GdMt8IZ8fEX3Ls46x76SKQ4B3d-nS3A";

    // 获取access_token的url
    public static final String ACCESS_TOKER_URL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken";

    // 根据code获取成员信息的url
    public static final String GET_OAUTH2_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?access_token=ACCESS_TOKEN&code=CODE&agentid=AGENTID";

    //
    public static final String GET_USER_DETAIL = "https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&userid=UserId";
}
