From 7cdbb5421d48f10c27d003e125e85c0924e955ca Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Tue, 24 May 2022 15:45:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=B7=BB=E5=8A=A0=E5=8F=91?= =?UTF-8?q?=E9=80=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs | 2 +- IRaCIS.Core.Application/Service/Management/UserService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs index 91cdbaf8e..bb1740ad2 100644 --- a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs +++ b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs @@ -160,7 +160,7 @@ namespace IRaCIS.Application.Contracts public class UserCommand : UserInfo { - public string RoutUrl { get; set; } = string.Empty; + public string RouteUrl { get; set; } = string.Empty; //public string FirstName { get; set; } //public string LastName { get; set; } diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 96a6300b7..89cfe5ef3 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -480,7 +480,7 @@ namespace IRaCIS.Application.Services var success = await _userRepository.SaveChangesAsync(); - await _mailVerificationService.AddUserSendEmailAsync(saveItem.Id, userAddModel.RoutUrl); + await _mailVerificationService.AddUserSendEmailAsync(saveItem.Id, userAddModel.RouteUrl); return ResponseOutput.Result(success, new UserAddedReturnDTO { Id = saveItem.Id, UserCode = saveItem.UserCode });