mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 02:08:15 +08:00
update 简化代码
This commit is contained in:
parent
7ead729460
commit
357e869c8e
@ -21,6 +21,5 @@ public enum EncodeType {
|
||||
/**
|
||||
* 16进制编码
|
||||
*/
|
||||
HEX;
|
||||
|
||||
HEX
|
||||
}
|
||||
|
||||
@ -99,8 +99,7 @@ public class PlusSaTokenDao implements SaTokenDao {
|
||||
*/
|
||||
@Override
|
||||
public Object getObject(String key) {
|
||||
Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key));
|
||||
return o;
|
||||
return CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user