src/user/Usrdell.java
@@ -32,7 +32,6 @@ userProperties = new Properties(); try (FileInputStream input = new FileInputStream(PROPERTIES_FILE)) { userProperties.load(input); System.out.println("用户属性初始化成功!"); } catch (IOException e) { System.err.println("初始化失败,文件未找到或读取错误: " + e.getMessage()); // 如果文件不存在,创建默认属性 @@ -133,6 +132,14 @@ } /** * 获取用户邮箱 * @return 用户邮箱 */ public static String getUserEmail() { return getEmail(); } /** * 获取语言设置 * @return 语言设置 */