zhengyiming
2025-08-22 f12b337fd0a9273cb982cbc09e3be43a4e078ffc
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)