添加获取所有边缘节点接口;重构相关数据结构与服务逻辑

This commit is contained in:
2025-05-23 18:58:03 +08:00
parent c83ffda611
commit 1524eef4a9
7 changed files with 152 additions and 22 deletions

View File

@@ -74,6 +74,7 @@ func ApplyRouters(app *fiber.App) {
edge := api.Group("/edge")
edge.Post("/online", handlers.OnlineEdge)
edge.Post("/offline", handlers.OfflineEdge)
edge.Post("/all", handlers.AllEdgesAvailable)
// 临时
app.Get("/test", func(c *fiber.Ctx) error {