sunpengfei
3 天以前 ced7ed5d9b3e0cd0c1bdbc9d76d1906301d189c2
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)