feat: 优化UPF流量统计逻辑
This commit is contained in:
@@ -56,7 +56,6 @@ func (s *UPFController) TotalFlow(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
data := s.perfKPIService.SelectUPFTotalFlow(neInfo.NeType, neInfo.RmUID, querys.Day)
|
||||
|
||||
c.JSON(200, result.OkData(data))
|
||||
up, down := s.perfKPIService.UPFTodayFlowFind(neInfo.RmUID, querys.Day)
|
||||
c.JSON(200, result.OkData(map[string]int64{"up": up, "down": down}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user