feat: UPF指标推送到ws订阅组

This commit is contained in:
TsMask committed 2024-03-21 10:15:24 +08:00
1 parent ff87a5471d
commit 04732b877d
1 file changed
+3
+3
View File
@@ -246,6 +246,9 @@ func PostKPIReportFromNF(w http.ResponseWriter, r *http.Request) {
// 推送到ws订阅组 // 推送到ws订阅组
wsService.NewWSSendImpl.ByGroupID(wsService.GROUP_KPI, kpiEvent) wsService.NewWSSendImpl.ByGroupID(wsService.GROUP_KPI, kpiEvent)
if goldKpi.NEType == "UPF" {
wsService.NewWSSendImpl.ByGroupID(wsService.GROUP_KPI_UPF, kpiEvent)
}
services.ResponseStatusOK200Null(w) services.ResponseStatusOK200Null(w)
} }