首次提交:初始化项目代码

This commit is contained in:
sunct
2026-07-31 14:44:48 +08:00
commit a4fe393571
119 changed files with 29105 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package router
import "github.com/gin-gonic/gin"
// setupChatAPIRoutes 配置聊天相关 API 路由
func (r *Router) setupChatAPIRoutes(api *gin.RouterGroup) {
chatGroup := api.Group("/chat")
{
chatGroup.POST("", r.chatHandler.Chat)
chatGroup.GET("/history", r.chatHandler.GetChatHistory)
}
}