feat 档案人脸分页状态
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using Dlhis.Basic.Organization.Request;
|
||||
using Dlhis.Basic.Organization.Response;
|
||||
using Dlhis.Basic.Organization.Services;
|
||||
using Kurisu.AspNetCore.DataAccess.Dto;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Dlhis.Basic.Organization.Controllers;
|
||||
|
||||
/// <summary>
|
||||
/// 档案人脸
|
||||
/// </summary>
|
||||
[Authorize]
|
||||
[Route("api/[controller]")]
|
||||
[ApiController]
|
||||
public class GainfoFacesController : ControllerBase
|
||||
{
|
||||
private readonly IGainfoFaceService _gainfoFaceService;
|
||||
|
||||
public GainfoFacesController(IGainfoFaceService gainfoFaceService)
|
||||
{
|
||||
_gainfoFaceService = gainfoFaceService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 人脸档案分页
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("page")]
|
||||
public async Task<GainfoFacePageSummaryResponse> GetPageAsync([FromQuery] GainfoFacePageRequest request)
|
||||
{
|
||||
return await _gainfoFaceService.GetPageAsync(request);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user