补充注释
This commit is contained in:
+10
-1
@@ -1,5 +1,8 @@
|
||||
namespace SimpleAdmin.Web.Core;
|
||||
|
||||
/// <summary>
|
||||
/// 提供入职审核相关 HTTP 接口。
|
||||
/// </summary>
|
||||
[ApiDescriptionSettings("Application", Tag = "入职审核")]
|
||||
[Route("biz/onboarding/audit")]
|
||||
[RolePermission]
|
||||
@@ -12,15 +15,21 @@ public class OnboardingAuditController
|
||||
_service = service;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 审核通过任务并创建正式员工档案。
|
||||
/// </summary>
|
||||
[HttpPost("approve")]
|
||||
public async Task Approve([FromBody] OnboardingAuditActionInput input)
|
||||
{
|
||||
await _service.Approve(input);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 退回任务并要求候选人补充资料。
|
||||
/// </summary>
|
||||
[HttpPost("reject")]
|
||||
public async Task Reject([FromBody] OnboardingAuditActionInput input)
|
||||
{
|
||||
await _service.Reject(input);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user