基本完成远端配置的通道创建

This commit is contained in:
2025-03-28 18:15:03 +08:00
parent edec734b71
commit 444b1a7b99
9 changed files with 295 additions and 158 deletions

View File

@@ -16,6 +16,6 @@ func ApplyRouters(app *fiber.App) {
auth.Post("/token", handlers.Token)
// 通道
channel := api.Group("/channel", PermitUser())
channel.Post("/create", handlers.CreateChannel)
channel := api.Group("/channel")
channel.Post("/create", PermitUser(), handlers.CreateChannel)
}