♻️Refactor: 清除 mermaid

This commit is contained in:
2026-03-28 20:00:08 +08:00
parent 06a4486a4f
commit 45c668e970
10 changed files with 17 additions and 1435 deletions
-8
View File
@@ -69,13 +69,6 @@ func main() {
"message": message,
})
})
route.GET("/mermaid/:topic", func(c *gin.Context) {
topic := c.Param("topic")
message := handle.GetMermaid(llm, ctx, topic)
c.JSON(200, gin.H{
"message": message,
})
})
route.GET("/quiz/:topic", func(c *gin.Context) {
topic := c.Param("topic")
message := handle.GetQuiz(llm, ctx, topic)
@@ -93,5 +86,4 @@ func main() {
route.Run()
}