package com.github.ouyangbob.wechat; public class WechatConstants { /** * wechat AppID(应用ID) */ public static final String APPID="wx14416bab6a127812"; /** * wechat AppSecret(应用密钥) */ public static final String APPSECRET="f4d4af519f986d505f5c496090925d79"; /** * wechat 获取access_token */ public static final String ACCESS_TOKEN="https://api.weixin.qq.com/cgi-bin/token"; /** * wechat 获取access_token */ public static final String JS_API_GET_TICKET="https://api.weixin.qq.com/cgi-bin/ticket/getticket"; /** * wechat 授权URL * ?appid=wxf0e81c3bee622d60&redirect_uri=http%3A%2F%2Fnba.bluewebgame.com%2Foauth_response.php&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect */ public static final String AUTHORIZE_URL="https://open.weixin.qq.com/connect/oauth2/authorize"; /** * 获取authorize 获取access_token 的url */ public static final String AUTHORIZE_GET_ACCESSTOKEN_URL="https://api.weixin.qq.com/sns/oauth2/access_token"; /** * 拉取用户信息 */ public static final String AUTHORIZE_GET_USERINFO_URL="https://api.weixin.qq.com/sns/userinfo"; }