From f1208474f771a1c233d7425c8ed13fbaa0d521ac Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期三, 12 三月 2025 09:35:13 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/5.X' into 5.X --- ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/SystemConstants.java | 75 +++++++++++++++++++++++++++++++++++++ 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/SystemConstants.java b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/SystemConstants.java new file mode 100644 index 0000000..55240bb --- /dev/null +++ b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/SystemConstants.java @@ -0,0 +1,75 @@ +package org.dromara.common.core.constant; + +/** + * 绯荤粺甯搁噺淇℃伅 + * + * @author Lion Li + */ +public interface SystemConstants { + + /** + * 姝e父鐘舵�� + */ + String NORMAL = "0"; + + /** + * 寮傚父鐘舵�� + */ + String DISABLE = "1"; + + /** + * 鏄惁涓虹郴缁熼粯璁わ紙鏄級 + */ + String YES = "Y"; + + /** + * 鏄惁涓虹郴缁熼粯璁わ紙鍚︼級 + */ + String NO = "N"; + + /** + * 鏄惁鑿滃崟澶栭摼锛堟槸锛� + */ + String YES_FRAME = "0"; + + /** + * 鏄惁鑿滃崟澶栭摼锛堝惁锛� + */ + String NO_FRAME = "1"; + + /** + * 鑿滃崟绫诲瀷锛堢洰褰曪級 + */ + String TYPE_DIR = "M"; + + /** + * 鑿滃崟绫诲瀷锛堣彍鍗曪級 + */ + String TYPE_MENU = "C"; + + /** + * 鑿滃崟绫诲瀷锛堟寜閽級 + */ + String TYPE_BUTTON = "F"; + + /** + * Layout缁勪欢鏍囪瘑 + */ + String LAYOUT = "Layout"; + + /** + * ParentView缁勪欢鏍囪瘑 + */ + String PARENT_VIEW = "ParentView"; + + /** + * InnerLink缁勪欢鏍囪瘑 + */ + String INNER_LINK = "InnerLink"; + + /** + * 瓒呯骇绠$悊鍛業D + */ + Long SUPER_ADMIN_ID = 1L; + +} -- Gitblit v1.9.3