解决2.3严重权限问题: issues/1740 JAVA访问权限控制 无法使用的问题

pull/1751/head
zhangdaiscott 2020-09-15 18:52:52 +08:00
parent 4570a21a63
commit 5a01d8587b
1 changed files with 6 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public interface CommonConstant {
public static final Integer SC_JEECG_NO_AUTHZ=510;
/** 登录用户Shiro权限缓存KEY前缀 */
public static String PREFIX_USER_SHIRO_CACHE = "shiro:cache:org.jeecg.modules.shiro.authc.ShiroRealm.authorizationCache:";
public static String PREFIX_USER_SHIRO_CACHE = "shiro:cache:org.jeecg.config.shiro.ShiroRealm.authorizationCache:";
/** 登录用户Token令牌缓存KEY前缀 */
public static final String PREFIX_USER_TOKEN = "prefix_user_token_";
/** Token缓存时间3600秒即一小时 */
@ -300,4 +300,9 @@ public interface CommonConstant {
*
*/
public final static String CLOUD_SERVER_KEY = "spring.cloud.nacos.discovery.server-addr";
/**
* /
*/
public final static String THIRD_LOGIN_CODE = "third_login_code";
}