数据结构优化

This commit is contained in:
李琦
2026-01-20 11:12:01 +08:00
parent b088ba48be
commit 4aa757082b
9 changed files with 519 additions and 51 deletions

View File

@@ -75,6 +75,9 @@ func main() {
api.GET("/tags/:id", handlers.GetTag)
api.GET("/tags/:id/posts", handlers.GetPostsByTagID)
// 公开设置路由
api.GET("/settings", handlers.GetSettings)
// 代码执行路由
api.POST("/run", handlers.RunCode)
api.GET("/proxy", handlers.ProxyRequest)