namespace MiaoYu.Api.Admin.Controllers.Systems; /// /// 操作日志控制器 /// [ControllerDescriptor(MenuId = "24", DisplayName = "操作日志")] public class SysOperationLogController : AdminControllerBase { public SysOperationLogController(SysOperationLogService defaultService) : base(defaultService) { } /// /// 获取表单数据 /// /// /// [ActionDescriptor(DisplayName = "查看列表")] [HttpPost] public async Task FindListAsync([FromBody] PagingSearchInput pagingSearchInput) { return await _defaultService.FindListAsync(pagingSearchInput); } /// /// 删除所有数据 /// /// [ActionDescriptor(DisplayName = "删除数据")] [HttpGet] public async Task DeleteAllDataAsync() { return await _defaultService.DeletedAllData(); } /// /// 查询表单数据 /// /// /// [ActionDescriptor(DisplayName = "查看表单")] [HttpGet("{id?}")] public async Task> FindFormAsync([FromRoute] Guid id) { return await _defaultService.FindFormAsync(id); } }