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

This commit is contained in:
Seefs authored and GitHub committed 2025-07-31 22:08:16 +08:00
1 parent 7eccf42513
commit 3b34afa8c9
18 files changed
+26 -774

No files matched your search

-3
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())