mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-16 13:13:41 +08:00
优化项目 (#75)
* 💄 improve: channel search * 💄 improve: channel Table * 💄 improve: add channel batch
This commit is contained in:
@@ -81,6 +81,8 @@ func SetApiRouter(router *gin.Engine) {
|
||||
channelRoute.GET("/update_balance/:id", controller.UpdateChannelBalance)
|
||||
channelRoute.POST("/", controller.AddChannel)
|
||||
channelRoute.PUT("/", controller.UpdateChannel)
|
||||
channelRoute.PUT("/batch/azure_api", controller.BatchUpdateChannelsAzureApi)
|
||||
channelRoute.PUT("/batch/del_model", controller.BatchDelModelChannels)
|
||||
channelRoute.DELETE("/disabled", controller.DeleteDisabledChannel)
|
||||
channelRoute.DELETE("/:id", controller.DeleteChannel)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user