扩大 SaTokenDaoForHutoolTimedCache 中 timedCache 可访问范围

This commit is contained in:
click33
2024-04-14 10:24:54 +08:00
parent 3ff0bbdeaf
commit 18bce0877e

View File

@@ -38,7 +38,7 @@ public class SaTokenDaoForHutoolTimedCache implements SaTokenDao {
* 底层缓存对象:
* 参数填1000代表默认ttl为1000毫秒实际上此参数意义不大因为后续每个值都会单独设置自己的ttl值
*/
TimedCache<String, Object> timedCache = CacheUtil.newTimedCache(1000);
public TimedCache<String, Object> timedCache = CacheUtil.newTimedCache(1000);
// ------------------------ String 读写操作