feat: 优化UPF流量统计逻辑

This commit is contained in:
TsMask committed 2025-03-04 14:51:52 +08:00
1 parent 32630fbb4a
commit 986624c48f
7 files changed
+281 -142

No files matched your search

+2 -3
View File
@@ -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}))
}