Revert "feat: add Claude Code channel support with OAuth integration"

This commit is contained in:
Seefs
2025-07-31 22:08:16 +08:00
committed by GitHub
parent 9758a9e60d
commit f995e31d04
18 changed files with 26 additions and 774 deletions

View File

@@ -120,9 +120,6 @@ func SetApiRouter(router *gin.Engine) {
channelRoute.POST("/batch/tag", controller.BatchSetChannelTag)
channelRoute.GET("/tag/models", controller.GetTagModels)
channelRoute.POST("/copy/:id", controller.CopyChannel)
// Claude OAuth路由
channelRoute.GET("/claude/oauth/url", controller.GenerateClaudeOAuthURL)
channelRoute.POST("/claude/oauth/exchange", controller.ExchangeClaudeOAuthCode)
}
tokenRoute := apiRouter.Group("/token")
tokenRoute.Use(middleware.UserAuth())