sa-token update

This commit is contained in:
lixiaodong 2023-07-25 19:54:52 +08:00
parent 0733919efc
commit de3269b233
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ public class MenuCacheService {
@Autowired
private MenuDao menuDao;
private static List<String> MENU_URL_CACHE = null;
private static volatile List<String> MENU_URL_CACHE = null;
/**
* 查询 需要校验权限的url

View File

@ -129,7 +129,7 @@ sa-token:
# jwt秘钥
jwt-secret-key: smart-admin
# token 有效期(单位:秒) 默认30天-1 代表永久有效
timeout: 2592000
timeout: 432000
# token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
active-timeout: -1
# 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)