mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-11 08:33:41 +08:00
添加同步上游模型列表按钮:添加提示以及支持已有渠道获取
This commit is contained in:
@@ -90,6 +90,8 @@ func SetApiRouter(router *gin.Engine) {
|
||||
channelRoute.DELETE("/:id", controller.DeleteChannel)
|
||||
channelRoute.POST("/batch", controller.DeleteChannelBatch)
|
||||
channelRoute.POST("/fix", controller.FixChannelsAbilities)
|
||||
channelRoute.GET("/fetch_models/:id", controller.FetchUpstreamModels)
|
||||
|
||||
}
|
||||
tokenRoute := apiRouter.Group("/token")
|
||||
tokenRoute.Use(middleware.UserAuth())
|
||||
|
||||
Reference in New Issue
Block a user