he2802 4 年之前
父節點
當前提交
f35a826f5a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zhongzheng-common/src/main/java/com/zhongzheng/common/utils/SecurityUtils.java

+ 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);
     }
 }