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.
 
 
 
Tiobon.Web.Core/Tiobon.Core.Api/Controllers/Ghre/Ghre_ConfigController.cs

24 lines
812 B

namespace Tiobon.Core.Api.Controllers;
/// <summary>
/// 参数配置(Controller)
/// </summary>
[Route("api/[controller]")]
[ApiController, GlobalActionFilter]
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
public class Ghre_ConfigController : BaseController<IGhre_ConfigServices, Ghre_Config, Ghre_ConfigDto, InsertGhre_ConfigInput, EditGhre_ConfigInput>
{
public Ghre_ConfigController(IGhre_ConfigServices service) : base(service)
{
}
/// <summary>
/// 批量更新数据
/// </summary>
/// <param name="entitys"></param>
[HttpPost, Route("BulkUpdateValue")]
public virtual async Task<ServiceResult> BulkUpdateValue([FromBody] List<Ghre_ConfigDto> entitys)
{
return await _service.BulkUpdateValue(entitys);
}
}