feat: 分组相关接口完善

This commit is contained in:
tbphp
2025-07-05 09:51:06 +08:00
parent 92e4a53659
commit f7bdef6bca
4 changed files with 229 additions and 38 deletions

View File

@@ -103,6 +103,7 @@ func registerProtectedAPIRoutes(api *gin.RouterGroup, serverHandler *handler.Ser
{
groups.POST("", serverHandler.CreateGroup)
groups.GET("", serverHandler.ListGroups)
groups.GET("/config-options", serverHandler.GetGroupConfigOptions)
groups.PUT("/:id", serverHandler.UpdateGroup)
groups.DELETE("/:id", serverHandler.DeleteGroup)