sunpengfei
7 天以前 5262f7b77aea5cf8c1543f48b34f311665d61518
FlexJobApi.UserServer.Application/Users/Queries/GetUserInfoRolesQueryHandler.cs
@@ -34,7 +34,7 @@
                    it.Type,
                })
                .FirstOrDefaultAsync(cancellationToken);
            if (userInfo == null) throw Oops.Oh(EnumErrorCodeType.s404, "该用户信息");
            if (userInfo == null) throw Oops.Oh(EnumErrorCodeType.s404, "用户信息");
            var roleIds = await repUserRole.AsQueryable().AsNoTracking()
                .Where(it => it.UserId == request.UserInfoId)
                .Select(it => it.RoleId)