集成微信登录双token
This commit is contained in:
@@ -49,4 +49,9 @@ public class CacheConstants
|
||||
*pc岗位ids
|
||||
*/
|
||||
public static final String SYS_JOB_IDS = "job_ids:";
|
||||
|
||||
/**
|
||||
* 刷新token
|
||||
*/
|
||||
public static final String LOGIN_SITE_REFRESH_KEY = "login_site_user:refresh_token:";
|
||||
}
|
||||
|
||||
@@ -100,6 +100,16 @@ public class Constants
|
||||
*/
|
||||
public static final String TOKEN = "token";
|
||||
|
||||
/**
|
||||
* 超时时间
|
||||
*/
|
||||
public static final String EXPIRES_IN="expiresIn";
|
||||
|
||||
/**
|
||||
* 刷新token
|
||||
*/
|
||||
public static final String REFRESH_TOKEN="refreshToken";
|
||||
|
||||
/**
|
||||
* 令牌前缀
|
||||
*/
|
||||
@@ -177,4 +187,6 @@ public class Constants
|
||||
|
||||
public static final Integer Del_FLAG_DELETE = 2;
|
||||
public static final Integer Del_FLAG_EXISTS = 0;
|
||||
|
||||
public static final long REDIS_TIME_OUT=7200;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user