feat: able to fix channels

This commit is contained in:
CaIon
2024-01-10 13:23:43 +08:00
parent 88596a94cf
commit 3c91d7539c
4 changed files with 80 additions and 0 deletions
+1
View File
@@ -84,6 +84,7 @@ func SetApiRouter(router *gin.Engine) {
channelRoute.DELETE("/disabled", controller.DeleteDisabledChannel)
channelRoute.DELETE("/:id", controller.DeleteChannel)
channelRoute.POST("/batch", controller.DeleteChannelBatch)
channelRoute.POST("/fix", controller.FixChannelsAbilities)
}
tokenRoute := apiRouter.Group("/token")
tokenRoute.Use(middleware.UserAuth())