mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-23 05:46:40 +08:00
sa-token update
This commit is contained in:
parent
0733919efc
commit
de3269b233
@ -22,7 +22,7 @@ public class MenuCacheService {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private MenuDao menuDao;
|
private MenuDao menuDao;
|
||||||
|
|
||||||
private static List<String> MENU_URL_CACHE = null;
|
private static volatile List<String> MENU_URL_CACHE = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询 需要校验权限的url
|
* 查询 需要校验权限的url
|
||||||
|
@ -129,7 +129,7 @@ sa-token:
|
|||||||
# jwt秘钥
|
# jwt秘钥
|
||||||
jwt-secret-key: smart-admin
|
jwt-secret-key: smart-admin
|
||||||
# token 有效期(单位:秒) 默认30天,-1 代表永久有效
|
# token 有效期(单位:秒) 默认30天,-1 代表永久有效
|
||||||
timeout: 2592000
|
timeout: 432000
|
||||||
# token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
|
# token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
|
||||||
active-timeout: -1
|
active-timeout: -1
|
||||||
# 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
|
# 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
|
||||||
|
Loading…
Reference in New Issue
Block a user