fix: 修复安全缓存 Hash get击穿问题

pull/10/head
Carina 3 years ago
parent 1b3d98a8a6
commit 4a5d1fef19

@ -233,7 +233,7 @@ public final class SecurityCache {
cache = callbackSource.apply(null);
if(null == cache){
// 存储缓存状态
LFU_NULL_CACHE.put(key, CacheStatus.NOT_EXIST);
LFU_NULL_CACHE.put(tempKey, CacheStatus.NOT_EXIST);
return null;
}

@ -80,8 +80,8 @@ public class Page<T extends BaseEntity,E extends ApiWrapper> extends PageSeriali
/**
* count
*/
public void pageHelperBegin(boolean countFlag){
PageHelper.startPage(this.pageNo,this.pageSize, countFlag);
public void pageHelperBegin(boolean isByCount){
PageHelper.startPage(this.pageNo,this.pageSize, isByCount);
}
/**

Loading…
Cancel
Save