using Admin.NET.Plugin.AiDOP.Dto.S8; using Admin.NET.Plugin.AiDOP.Service.S8; namespace Admin.NET.Plugin.AiDOP.Controllers.S8; [ApiController] [Route("api/aidop/s8/config/notification-logs")] [NonUnify] public class AdoS8ConfigNotificationLogsController : ControllerBase { private readonly S8NotificationLogQueryService _svc; public AdoS8ConfigNotificationLogsController(S8NotificationLogQueryService svc) { _svc = svc; } [HttpGet] public async Task GetPagedAsync([FromQuery] AdoS8NotificationLogQueryDto q) { var (total, list) = await _svc.GetPagedAsync(q); return Ok(new { total, page = q.Page, pageSize = q.PageSize, list }); } }