集成微信登录双token

This commit is contained in:
sh
2026-05-11 18:55:20 +08:00
parent 7bed78c23a
commit bf79bc89d7
6 changed files with 102 additions and 6 deletions

View File

@@ -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:";
}

View File

@@ -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;
}