修改发送邮件
This commit is contained in:
@@ -138,6 +138,23 @@ namespace IRaCIS.Application.Services
|
||||
return ResponseOutput.Ok();
|
||||
}
|
||||
|
||||
|
||||
[HttpGet]
|
||||
public async Task<IResponseOutput> InitSetUserNameAndPwd (Guid userId, string newUserName,string newPWd)
|
||||
{
|
||||
await _userRepository.UpdatePartialFromQueryAsync(userId, u => new User()
|
||||
{
|
||||
UserName = newUserName,
|
||||
|
||||
Password=newPWd,
|
||||
|
||||
IsFirstAdd=false,
|
||||
|
||||
},true);
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 重置密码为 默认密码
|
||||
|
||||
Reference in New Issue
Block a user