feat: 新增ue事件日志上报接口

This commit is contained in:
TsMask
2024-06-15 16:38:37 +08:00
parent 01f4c718b8
commit bdec033db4
5 changed files with 52 additions and 9 deletions

View File

@@ -249,7 +249,7 @@ func main() {
uriGroup := app.Group(config.UriPrefix)
uriGroup.Any("/*any", gin.WrapH(routes.NewRouter()))
// AMF上报的UE事件, 无前缀,暂时特殊处理
app.POST(event.UriUEEvent, event.PostUEEventFromAMF)
app.POST(event.UriUEEventAMF, event.PostUEEventFromAMF)
var listenLocalhost bool = false
for _, rest := range conf.Rest {