From 550b9b8b3b8b39e384652c916ccb154367a21f1a Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 05 九月 2025 09:04:48 +0800 Subject: [PATCH] fix: s --- FlexJobApi.UserServer.Application/Users/Commands/UserInfoCommandHandler.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/FlexJobApi.UserServer.Application/Users/Commands/UserInfoCommandHandler.cs b/FlexJobApi.UserServer.Application/Users/Commands/UserInfoCommandHandler.cs index e489ec1..f2c78f9 100644 --- a/FlexJobApi.UserServer.Application/Users/Commands/UserInfoCommandHandler.cs +++ b/FlexJobApi.UserServer.Application/Users/Commands/UserInfoCommandHandler.cs @@ -52,7 +52,7 @@ .Include(it => it.UserRoles) .Where(it => it.Id == request.UserInfoId) .FirstOrDefaultAsync(cancellationToken); - if (entity == null) throw Oops.Oh(EnumErrorCodeType.s404, "璇ョ敤鎴�"); + if (entity == null) throw Oops.Oh(EnumErrorCodeType.s404, "鐢ㄦ埛"); entity.UserRoles = request.RoleIds .Select(it => new UserRole { @@ -62,5 +62,6 @@ await rep.UpdateAsync(entity); return entity.UserRoles.Count; } + } } -- Gitblit v1.9.1