1
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
namespace SimpleAdmin.Web.Core;
|
||||
|
||||
[ApiDescriptionSettings("Application", Tag = "入职审核")]
|
||||
[Route("biz/onboarding/audit")]
|
||||
[RolePermission]
|
||||
public class OnboardingAuditController
|
||||
{
|
||||
private readonly IOnboardingAuditService _service;
|
||||
|
||||
public OnboardingAuditController(IOnboardingAuditService service)
|
||||
{
|
||||
_service = service;
|
||||
}
|
||||
|
||||
[HttpPost("approve")]
|
||||
public async Task Approve([FromBody] OnboardingAuditActionInput input)
|
||||
{
|
||||
await _service.Approve(input);
|
||||
}
|
||||
|
||||
[HttpPost("reject")]
|
||||
public async Task Reject([FromBody] OnboardingAuditActionInput input)
|
||||
{
|
||||
await _service.Reject(input);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user