【cache】修复缓存一个bug

pull/3/head
fengshuonan 2020-12-27 17:53:27 +08:00
parent a646cb67ce
commit 3f634f8eef
2 changed files with 3 additions and 3 deletions

View File

@ -29,8 +29,8 @@ public class LoginRequest extends BaseRequest {
private String password;
/**
*
* false
*/
private Boolean rememberMe;
private Boolean rememberMe = false;
}

View File

@ -55,7 +55,7 @@ public abstract class AbstractMemoryCacheOperator<T> implements CacheOperatorApi
@Override
public boolean contains(String key) {
return timedCache.containsKey(key);
return timedCache.containsKey(getCommonKeyPrefix() + key);
}
@Override