style: 修改报错信息中文样式

This commit is contained in:
橙子
2023-10-04 23:16:07 +08:00
parent fcb0ea9574
commit c1c0774572
11 changed files with 25 additions and 25 deletions

View File

@@ -125,7 +125,7 @@ namespace Yi.Furion.Application.Rbac.Services.Impl
if (userInfo.RoleCodes.Count == 0)
{
throw new UserFriendlyException(UserConst.);
throw new UserFriendlyException(UserConst.No_Role);
}
//这里抛出一个登录的事件
var loginLogEntity = _httpContextAccessor.HttpContext.GetLoginLogInfo();