资源模块数据 缓存条件变更

yun-zuoyi
汪云昊 5 years ago
parent 0958b06552
commit 4b240a0d79

@ -165,9 +165,6 @@ public class SystemInitService implements ISystemInitService {
lanMap.put(res.getLanguageCode(), res.getResourceValue());
// web 资源
if(res.getResourceType() == CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE.WEB.getValue()
||res.getResourceType() == CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE.MENU.getValue()) {
// web 资源
if (!webLangMap.containsKey(res.getLanguageCode())) {
webLangMap.put(res.getLanguageCode(), new HashMap<>());
}
@ -184,7 +181,6 @@ public class SystemInitService implements ISystemInitService {
webSoftResMap = webSoftLangMap.get(softResKey);
webSoftResMap.put(res.getResourceKey(), res.getResourceValue());
}
}
for (String key : resMap.keySet()) {
//放入缓存

Loading…
Cancel
Save