表报错修改

lvxinran 2021-01-01 00:03:53 +08:00
parent cc10b2aab4
commit 12b0160f3a
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,8 @@ public class SErrorCodeEerverConfig implements BaseConfig {
private String value;
private String englishValue;
@Override
public void init() throws Exception {
Map<Integer, SErrorCodeEerverConfig> config = STableManager.getConfig(SErrorCodeEerverConfig.class);
@ -41,6 +43,10 @@ public class SErrorCodeEerverConfig implements BaseConfig {
return value;
}
public String getEnglishValue() {
return englishValue;
}
public static String getI18NMessage(String key){
String value = errorCodeMap.get(key);
if (value == null) {