数据结构优化
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user