feat 批量获取人脸照
This commit is contained in:
@@ -123,5 +123,16 @@ public class GainfosController : ControllerBase
|
||||
{
|
||||
return await _gainfoService.GetFaceByUserCodeAsync(userCode);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量获取人脸照片
|
||||
/// </summary>
|
||||
/// <param name="userCodes"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("face/{userCodes}")]
|
||||
public async Task<List<string>> GetFaceByUserCodesAsync([FromQuery] List<string> userCodes)
|
||||
{
|
||||
return await _gainfoService.GetFaceByUserCodesAsync(userCodes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user