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