feat(订阅): 添加协议列表字段并修复路由分组命名
Build docker and publish / build (20.15.1) (push) Failing after 27s

refactor(订阅): 调整节点计数字段位置并优化代码格式
This commit is contained in:
2025-10-22 05:05:41 -07:00
parent ea1ef3527b
commit d3fb2aa178
5 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -867,10 +867,10 @@ func RegisterHandlers(router *gin.Engine, serverCtx *svc.ServiceContext) {
serverGroupRouter.GET("/user", server.GetServerUserListHandler(serverCtx))
}
serverGroupRouterV2 := router.Group("/v2/server")
serverGroupRouter = router.Group("/v2/server")
{
// Get Server Protocol Config
serverGroupRouterV2.GET("/:server_id", server.QueryServerProtocolConfigHandler(serverCtx))
serverGroupRouter.GET("/:server_id", server.QueryServerProtocolConfigHandler(serverCtx))
}
}