Merge branch 'dev_add_auth_1029' of http://192.168.5.200:8081/ql/apismnagaer_backend into dev_add_auth_1029

This commit is contained in:
南浔 2024-11-05 23:14:35 +08:00
commit e578acc4af

View File

@ -70,7 +70,7 @@ namespace Apimanager_backend.Services
apiContext.Users.Update(user); apiContext.Users.Update(user);
await apiContext.SaveChangesAsync(); await apiContext.SaveChangesAsync();
} }
#region
public async Task SendResetPasswordEmailAsync(string email) public async Task SendResetPasswordEmailAsync(string email)
{ {
var randomCode = RandomCodeHelper.GetRandomCodeStr(); var randomCode = RandomCodeHelper.GetRandomCodeStr();
@ -86,7 +86,7 @@ namespace Apimanager_backend.Services
//发送邮件 //发送邮件
await emailService.SendEmailAsync(email,subject,body); await emailService.SendEmailAsync(email,subject,body);
} }
#endregion
public async Task<UserInfoDto> UpdateUserAsync(UpdateUserDto dto) public async Task<UserInfoDto> UpdateUserAsync(UpdateUserDto dto)
{ {