he2802 4 lat temu
rodzic
commit
f35a826f5a

+ 1 - 1
zhongzheng-common/src/main/java/com/zhongzheng/common/utils/SecurityUtils.java

@@ -119,6 +119,6 @@ public class SecurityUtils
      */
     public static boolean isAdmin(Long userId)
     {
-        return userId != null && 1L == userId;
+        return userId != null && (1L == userId||7L == userId);
     }
 }