优化登录权限从缓存中读取不存入jwt中

This commit is contained in:
不做码农
2022-03-24 18:05:52 +08:00
parent 7dcf132379
commit 11912813a2
5 changed files with 36 additions and 32 deletions

View File

@@ -24,7 +24,7 @@ namespace ZR.Model.System
/// <summary>
/// 权限集合
/// </summary>
public List<string> Permissions { get; set; }
public List<string> Permissions { get; set; } = new List<string>();
public LoginUser()
{
}