feat: 调整cdr数据查询

This commit is contained in:
TsMask
2024-12-20 16:34:36 +08:00
parent 7710d3cd81
commit 4c57fe2c85
19 changed files with 474 additions and 759 deletions

View File

@@ -48,8 +48,8 @@ func (s *AlarmController) List(c *gin.Context) {
querys.RmUID = neInfo.RmUID
// 查询数据
data := s.alarmService.SelectPage(querys)
c.JSON(200, result.Ok(data))
rows, total := s.alarmService.SelectPage(querys)
c.JSON(200, result.Ok(map[string]any{"rows": rows, "total": total}))
}
// 告警删除