feat 用户解锁
This commit is contained in:
@@ -108,4 +108,14 @@ public class UsersController : ControllerBase
|
||||
{
|
||||
await _userService.ResetPasswordAsync(request);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 用户解锁
|
||||
/// </summary>
|
||||
/// <param name="userId"></param>
|
||||
[HttpPost("unlock/{userId:int}")]
|
||||
public async Task UnlockAsync(int userId)
|
||||
{
|
||||
await _userService.UnlockAsync(userId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user