feat: 调整cdr数据查询
This commit is contained in:
@@ -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}))
|
||||
}
|
||||
|
||||
// 告警删除
|
||||
|
||||
Reference in New Issue
Block a user