WxConstant.java 950 Bytes
package com.meishu.common.constant;

public class WxConstant {

    /**
     * app id
     */
    public static final String APPID = "wx75ec06e9ce50ef73";

    /**
     * 秘钥
     */
    public static final String SECRENT = "c039d32804278503474dfcf7cb3944b9";

    /**
     * 获取访问用户身份
     */
    public static final String GETUSERINFO = "https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?access_token={access_token}&code={code}";

    /**
     * 读取成员
     */
    public static final String GET = "https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token={access_token}&userid={userid}";

    /**
     * 获取access_token
     */
    public static final String GET_SUITE_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={appid}&secret={secret}";


    /**
     * 扫码登陆回调地址
     */
    public static final String QR_REDIRECT_URL = "http://massadmin.youkehulian.com";
}