From 7e25a80c5bcb45ed9524a57e24bcabd0a0db625d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期日, 24 四月 2022 11:46:25 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue into dev --- ruoyi-common/src/main/java/com/ruoyi/common/constant/UserConstants.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/constant/UserConstants.java b/ruoyi-common/src/main/java/com/ruoyi/common/constant/UserConstants.java index eebbb4b..9f800be 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/constant/UserConstants.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/constant/UserConstants.java @@ -23,9 +23,19 @@ String EXCEPTION = "1"; /** + * 鐢ㄦ埛姝e父鐘舵�� + */ + String USER_NORMAL = "0"; + + /** * 鐢ㄦ埛灏佺鐘舵�� */ String USER_DISABLE = "1"; + + /** + * 瑙掕壊姝e父鐘舵�� + */ + String ROLE_NORMAL = "0"; /** * 瑙掕壊灏佺鐘舵�� @@ -61,6 +71,16 @@ * 鏄惁鑿滃崟澶栭摼锛堝惁锛� */ String NO_FRAME = "1"; + + /** + * 鑿滃崟姝e父鐘舵�� + */ + String MENU_NORMAL = "0"; + + /** + * 鑿滃崟鍋滅敤鐘舵�� + */ + String MENU_DISABLE = "1"; /** * 鑿滃崟绫诲瀷锛堢洰褰曪級 @@ -109,4 +129,10 @@ */ int PASSWORD_MIN_LENGTH = 5; int PASSWORD_MAX_LENGTH = 20; + + /** + * 绠$悊鍛業D + */ + Long ADMIN_ID = 1L; + } -- Gitblit v1.9.3