1
0

marge: 合并代码

This commit is contained in:
TsMask
2024-01-19 19:08:52 +08:00
parent 269b578d77
commit 6d9123314c
18 changed files with 647 additions and 354 deletions

View File

@@ -276,7 +276,7 @@ func XormGetAllNeInfo(nes *[]NeInfo) (*[]NeInfo, error) {
}
*nes = append(*nes, *ne)
}
log.Debug("nes:", nes)
log.Trace("nes:", nes)
return nes, nil
}

View File

@@ -6,6 +6,7 @@ import (
// "log"
"ems.agt/features/aaaa"
"ems.agt/features/cdr"
"ems.agt/features/cm"
"ems.agt/features/dbrest"
"ems.agt/features/file"
@@ -299,6 +300,9 @@ func init() {
Register("GET", ue.UriNSSFSubscriptions, ue.GetSubscriptionsFromNSSF, nil)
Register("GET", ue.CustomUriNSSFSubscriptions, ue.GetSubscriptionsFromNSSF, nil)
Register("POST", cdr.UriCDREvent, cdr.PostCDREventFromNF, nil)
Register("POST", cdr.CustomUriCDREvent, cdr.PostCDREventFromNF, nil)
// 进程网络
Register("GET", psnet.UriWs, psnet.ProcessWs, nil)
Register("POST", psnet.UriStop, psnet.StopProcess, nil)