微调
This commit is contained in:
@@ -46,4 +46,12 @@ public enum DicDataEnum {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String getMessageByCode(String code) {
|
||||
DicDataEnum e = getEnumByCode(code);
|
||||
if (e!= null) {
|
||||
return e.getMessage();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user