2018-06-06 18:07
@JFinal 不是别的项目,是同一个项目的service层,代码这样的users = CacheManager.me.getCache(CacheNames.PERSISTENT, CacheKeys.USER);
if (users == null) {
users = new HashMap();
}
CacheManager.me.deleteCache(CacheNames.PERSISTENT, CacheKeys.USER);
CacheManager.me.setCache(CacheNames.PERSISTENT, CacheKeys.USER, users);每次都读不了旧数据,偶尔有一次能读到,里面也是空的