sunpengfei
1 天以前 20af9888642273b5ff389f1fd8e80582083ef0b5
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)