@Component public class LangService extends Object
LangService()
boolean
enable()
List<Map<String,Object>>
listLanguage()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public LangService()
public boolean enable()
从系统配置缓存中获取语言配置信息,判断国际化功能是否启用
@Comment(value="\u83b7\u53d6\u5df2\u542f\u7528\u8bed\u8a00\u5217\u8868") public List<Map<String,Object>> listLanguage()
该方法会尝试从指定路径加载语言配置文件,并解析出所有启用的语言项, 并按照排序字段进行升序排列。
Copyright © 2026. All rights reserved.