新增代理注册接口
Some checks failed
Docker / build (push) Has been cancelled

This commit is contained in:
2025-12-22 17:31:31 +08:00
parent eac793becb
commit bf8f001a30
3 changed files with 58 additions and 25 deletions

View File

@@ -72,13 +72,14 @@ func ApplyRouters(app *fiber.App) {
proxy.Post("/online", handlers.ProxyReportOnline)
proxy.Post("/offline", handlers.ProxyReportOffline)
proxy.Post("/update", handlers.ProxyReportUpdate)
proxy.Post("/register", handlers.ProxyRegisterBaiYin)
// 节点
edge := api.Group("/edge")
edge.Post("/assign", handlers.AssignEdge)
edge.Post("/all", handlers.AllEdgesAvailable)
// 其他系统接口
// 前台
inquiry := api.Group("/inquiry")
inquiry.Post("/create", handlers.CreateInquiry)