This commit is contained in:
2026-08-31 14:42:22 +08:00
72 changed files with 2479 additions and 168 deletions
@@ -36,6 +36,12 @@ namespace IdentityService.WebApi.Controllers.User
{
return Ok(await userService.GetUserInfoAsync(userId));
}
[HttpGet]
[ProducesDefaultResponseType(typeof(Result<UserResponse?>))]
public async Task<IActionResult> FindByUname(string username)
{
return Ok(await userService.GetUserInfoByUnameAsync(username));
}
[HttpPost]
[ProducesDefaultResponseType(typeof(Result<UserResponse>))]