From d9e54388e7fde2462e8b7e0165c5e7da3f202593 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 07 七月 2022 19:07:59 +0800 Subject: [PATCH] add 整合 springdoc-openapi-javadoc 基于代码注释生成文档 --- 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