You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
937 B
25 lines
937 B
namespace Tiobon.Core.Api.Controllers;
|
|
|
|
/// <summary>
|
|
/// 简历模板(Controller)
|
|
/// </summary>
|
|
[Route("api/[controller]")]
|
|
[ApiController, GlobalActionFilter]
|
|
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghrh)]
|
|
public class Ghrh_ResumeTemplateController : BaseController<IGhrh_ResumeTemplateServices, Ghrh_ResumeTemplate, Ghrh_ResumeTemplateDto, InsertGhrh_ResumeTemplateInput, EditGhrh_ResumeTemplateInput>
|
|
{
|
|
public Ghrh_ResumeTemplateController(IGhrh_ResumeTemplateServices service) : base(service)
|
|
{
|
|
}
|
|
|
|
#region 是否开启
|
|
/// <summary>
|
|
/// 是否开启
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <param name="isPublish"></param>
|
|
/// <returns></returns>
|
|
[HttpPost("SwitchPublish/{id}/{isPublish}")]
|
|
public async Task<ServiceResult> RecordDuration(long id, int? isPublish) => await _service.SwitchPublish(id, isPublish);
|
|
#endregion
|
|
} |