feat 获取当前人员信息

This commit is contained in:
2024-01-10 14:51:38 +08:00
parent be581e43e3
commit 8dba9e9a3a
20 changed files with 230 additions and 135 deletions

View File

@@ -78,5 +78,15 @@ public class GainfosController : ControllerBase
{
await _gainfoService.OnboardingAsync(request);
}
/// <summary>
/// 当前人员信息
/// </summary>
/// <returns></returns>
[HttpGet("current")]
public async Task<GainfoCurrentResponse> CurrentUserInfoAsync()
{
return await _gainfoService.CurrentUserInfoAsync();
}
}