fix: fix channel model list is empty

This commit is contained in:
JustSong
2024-04-05 23:44:57 +08:00
parent eec41849ec
commit a44fb5d482
2 changed files with 17 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ func SetApiRouter(router *gin.Engine) {
{
channelRoute.GET("/", controller.GetAllChannels)
channelRoute.GET("/search", controller.SearchChannels)
channelRoute.GET("/models", controller.ListModels)
channelRoute.GET("/models", controller.ListAllModels)
channelRoute.GET("/:id", controller.GetChannel)
channelRoute.GET("/test", controller.TestChannels)
channelRoute.GET("/test/:id", controller.TestChannel)