RuoYi
2025-05-07 b80932ceb4dd7e69b8ea18bb0805e0cf23464862
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;
    }
}