添加通道创建权限检查和ISP类型映射

This commit is contained in:
2025-04-15 14:30:24 +08:00
parent d87ef4b41a
commit 0cf9b98059
3 changed files with 29 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ func ApplyRouters(app *fiber.App) {
// 通道
channel := api.Group("/channel")
channel.Post("/create", auth2.PermitAll(), handlers.CreateChannel)
channel.Post("/create", handlers.CreateChannel)
channel.Post("/remove", auth2.PermitAll(), handlers.RemoveChannels)
// 白名单