From ec076c1e0db01fc5e1de4045dffd850cf82632bd Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 29 十月 2022 00:00:00 +0800 Subject: [PATCH] update 优化 单元测试乱码问题 指定运行编码 --- ruoyi-common/src/main/java/com/ruoyi/common/enums/UserStatus.java | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/enums/UserStatus.java b/ruoyi-common/src/main/java/com/ruoyi/common/enums/UserStatus.java index d7ff44a..673ddeb 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/enums/UserStatus.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/enums/UserStatus.java @@ -2,29 +2,25 @@ /** * 鐢ㄦ埛鐘舵�� - * + * * @author ruoyi */ -public enum UserStatus -{ +public enum UserStatus { OK("0", "姝e父"), DISABLE("1", "鍋滅敤"), DELETED("2", "鍒犻櫎"); private final String code; private final String info; - UserStatus(String code, String info) - { + UserStatus(String code, String info) { this.code = code; this.info = info; } - public String getCode() - { + public String getCode() { return code; } - public String getInfo() - { + public String getInfo() { return info; } } -- Gitblit v1.9.3