This commit is contained in:
zhuangqian 2016-12-24 11:46:41 +08:00
parent 74e6b3b6db
commit bd1cfd9848
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ public class AceExt {
if (null == ShiroKit.getUser()) {
return "ace-dark.css";
}
Map<String, String> theme = CacheKit.get(ConstCache.FILE_CACHE, ConstCacheKey.ACE_THEME + ShiroKit.getUser().getId(), new ILoader() {
Map<String, String> theme = CacheKit.get(ConstCache.SYS_CACHE, ConstCacheKey.ACE_THEME + ShiroKit.getUser().getId(), new ILoader() {
public Object load() {
Map<String, String> map = new HashMap<String, String>();
map.put("ace", "ace-dark.css");

View File

@ -406,7 +406,7 @@ public class CacheController extends BaseController {
if (null == ShiroKit.getUser()) {
return error("error");
}
Map<String, String> theme = CacheKit.get(ConstCache.FILE_CACHE, ConstCacheKey.ACE_THEME + ShiroKit.getUser().getId() , new ILoader() {
Map<String, String> theme = CacheKit.get(ConstCache.SYS_CACHE, ConstCacheKey.ACE_THEME + ShiroKit.getUser().getId() , new ILoader() {
public Object load() {
Map<String, String> map = new HashMap<String, String>();
map.put("ace", "ace-dark.css");