feat: 接口网元状态/网元列表

This commit is contained in:
TsMask committed 2023-12-21 20:42:50 +08:00
1 parent 509fdbba95
commit f5c852d801
10 files changed
+480 -5

No files matched your search

@@ -20,6 +20,14 @@ func Setup(router *gin.Engine) {
middleware.PreAuthorize(nil),
controller.NewNeInfo.NeTypeAndID,
)
neGroup.GET("/state",
middleware.PreAuthorize(nil),
controller.NewNeInfo.NeState,
)
neGroup.GET("/list",
middleware.PreAuthorize(nil),
controller.NewNeInfo.NeList,
)
}
// 网元处理