fix: 国际化

This commit is contained in:
taojinlong
2021-05-19 10:17:36 +08:00
parent 36d5a80190
commit 144fb84535
2 changed files with 1 additions and 2 deletions

View File

@@ -36,7 +36,6 @@ public class Translator {
* 单Key翻译
*/
public static String get(String key) {
System.out.println(LocaleContextHolder.getLocale());
return messageSource.getMessage(key, null, key, LocaleContextHolder.getLocale());
}