RuoYi
2026-04-03 bf023fc2f72d6b4a2788d8f9c027aeb493f07688
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/UserConstants.java
@@ -80,4 +80,9 @@
    public static final int PASSWORD_MIN_LENGTH = 5;
    public static final int PASSWORD_MAX_LENGTH = 20;
    public static boolean isAdmin(Long userId)
    {
        return userId != null && 1L == userId;
    }
}