mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 05:19:00 +08:00
fix(pigx-common-core): #7229 登录时调用 getUserInfo 获取用户权限,但此时租户上下文还没设置(或设置为默认租户 1),导致 findMenuByRoleId 查询的是错误租户的菜单数据。 @786556226
This commit is contained in:
1 parent
70334d3c11
commit
f312f1b229
1 file changed
+1
-16
+1
-16
@@ -23,7 +23,7 @@ public interface CacheConstants {
|
||||
/**
|
||||
* 菜单信息缓存
|
||||
*/
|
||||
String MENU_DETAILS = "menu_details";
|
||||
String MENU_DETAILS = GLOBALLY + "menu_details";
|
||||
|
||||
/**
|
||||
* 用户信息缓存
|
||||
@@ -50,11 +50,6 @@ public interface CacheConstants {
|
||||
*/
|
||||
String CLIENT_DETAILS_KEY = "pigx_oauth:client:details";
|
||||
|
||||
/**
|
||||
* spring boot admin 事件key
|
||||
*/
|
||||
String EVENT_KEY = GLOBALLY + "event_key";
|
||||
|
||||
/**
|
||||
* 路由存放
|
||||
*/
|
||||
@@ -85,11 +80,6 @@ public interface CacheConstants {
|
||||
*/
|
||||
String MP_REDIS_RELOAD_TOPIC = "mp_redis_reload_topic";
|
||||
|
||||
/**
|
||||
* 支付 reload 事件
|
||||
*/
|
||||
String PAY_REDIS_RELOAD_TOPIC = "pay_redis_reload_topic";
|
||||
|
||||
/**
|
||||
* 参数缓存
|
||||
*/
|
||||
@@ -115,9 +105,4 @@ public interface CacheConstants {
|
||||
*/
|
||||
String LOGIN_ERROR_TIMES = "login_error_times";
|
||||
|
||||
/**
|
||||
* oauth 缓存前缀
|
||||
*/
|
||||
String PROJECT_OAUTH_ACCESS = "token::access_token";
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user