fix: 修复添加和编辑渠道无可选择模型

This commit is contained in:
1808837298@qq.com
2024-03-03 15:53:48 +08:00
parent 06b746a740
commit 54088bc664
3 changed files with 9 additions and 1 deletions

View File

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