changed param logic & add more routes

This commit is contained in:
2026-09-04 18:08:20 +08:00
parent 86cde9bb97
commit a28c1dec9b
14 changed files with 269 additions and 12 deletions

View File

@@ -9,9 +9,10 @@ import (
)
func init() {
path := routes.PathOf()
routes.Register(func(app *fiber.App) {
app.Get("/api/acdm/:userid", acdm)
fmt.Println("Loaded: /api/acdm/:userid")
app.Post(path, acdm)
fmt.Println("Loaded:", path)
})
}