gowshwah
2026-03-12 571a25d4865e8865cf1e80f3ba86cc4cbebe8d03
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;
    }
}