package com.fzzy.appwx.constant;
|
|
public class WeChatConst {
|
|
/**
|
* 微信公众号登录
|
*/
|
public static final String LOGIN_TYPE_WECHAT = "WECHAT";
|
// 用户授权
|
public static final String USER_AUTH_UPR =
|
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";
|
/**
|
* 通过code换取用户信息
|
*/
|
public static final String OAUTH2_CODE_ACCESS_TOKEN_URL =
|
"https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
|
}
|