diff --git a/src/0-core/HuanMeng.MiaoYu.Code/Users/UserBLL.cs b/src/0-core/HuanMeng.MiaoYu.Code/Users/UserBLL.cs index 86e5662..44de43f 100644 --- a/src/0-core/HuanMeng.MiaoYu.Code/Users/UserBLL.cs +++ b/src/0-core/HuanMeng.MiaoYu.Code/Users/UserBLL.cs @@ -81,8 +81,8 @@ namespace HuanMeng.MiaoYu.Code.Users { var claims = new[] { - new Claim(ClaimTypes.Name,accountInfo.NickName), - new Claim("Name",accountInfo.NickName), + //new Claim(ClaimTypes.Name,accountInfo.NickName), + new Claim("NickName",accountInfo.NickName), new Claim("UserId",accountInfo.UserId.ToString()), }; var jwtAuthResulttre = JwtAuthManager.GenerateTokens(accountInfo.NickName, claims, DateTime.Now);