Merge branch 'master' of https://gitea.nxsir.cn/nanxun/IM_NEW
This commit is contained in:
@@ -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>))]
|
||||
|
||||
Reference in New Issue
Block a user