refactor: 补正一些缺失方法

This commit is contained in:
click33
2025-03-08 15:22:33 +08:00
parent 850af6c131
commit c3be6304db
10 changed files with 43 additions and 28 deletions

View File

@@ -51,6 +51,11 @@ public class SaTokenDaoForHutoolTimedCache implements SaTokenDaoByStringFollowOb
return timedCache.get(key, false);
}
@Override
public <T> T getObject(String key, Class<T> classType) {
return (T) getObject(key);
}
@Override
public void setObject(String key, Object object, long timeout) {
if(timeout == 0 || timeout <= SaTokenDao.NOT_VALUE_EXPIRE) {