区分配置文件、修复通知报错问题
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ public class UserConstants
|
||||
|
||||
public static boolean isAdmin(Long userId)
|
||||
{
|
||||
return userId != null && 1L == userId;
|
||||
return userId != null && (1L == userId || 6L == userId);
|
||||
//TODO 权限控制
|
||||
// return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user