后端角色权限新增加管理员判断

This commit is contained in:
不做码农
2021-12-17 21:59:15 +08:00
parent ae5e215b7b
commit 3b2c1577ff
2 changed files with 10 additions and 1 deletions

View File

@@ -13,5 +13,9 @@ namespace Infrastructure
/// 管理员权限
/// </summary>
public static string AdminPerm = "*:*:*";
/// <summary>
/// 管理员角色
/// </summary>
public static string AdminRole = "admin";
}
}