26 lines
691 B
C#
26 lines
691 B
C#
namespace SimpleAdmin.Web.Core;
|
|
|
|
[ApiDescriptionSettings("Application", Tag = "入职正式员工档案")]
|
|
[Route("biz/onboarding/employee")]
|
|
[RolePermission]
|
|
public class OnboardingEmployeeController
|
|
{
|
|
private readonly IOnboardingEmployeeService _service;
|
|
|
|
public OnboardingEmployeeController(IOnboardingEmployeeService service)
|
|
{
|
|
_service = service;
|
|
}
|
|
|
|
[HttpGet("page")]
|
|
public async Task<dynamic> Page([FromQuery] OnboardingEmployeePageInput input)
|
|
{
|
|
return await _service.Page(input);
|
|
}
|
|
|
|
[HttpGet("detail")]
|
|
public async Task<dynamic> Detail([FromQuery] BaseIdInput input)
|
|
{
|
|
return await _service.Detail(input);
|
|
}
|
|
} |