优化项目 (#75)

* 💄 improve: channel search

* 💄 improve: channel Table

* 💄 improve: add channel batch
This commit is contained in:
Buer
2024-02-26 19:06:18 +08:00
committed by GitHub
parent ec64bf1ad4
commit 6b8ba36213
13 changed files with 889 additions and 96 deletions

View File

@@ -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)
}