🗑️ Remove the personal page

This commit is contained in:
2024-06-26 11:11:23 +08:00
parent 3f64747839
commit 0d02eca76e
9 changed files with 33 additions and 213 deletions

View File

@ -26,9 +26,7 @@ func MapAPIs(app *fiber.App) {
me.Put("/banner", setBanner)
me.Get("/", getUserinfo)
me.Get("/page", getOwnPersonalPage)
me.Put("/", editUserinfo)
me.Put("/page", editPersonalPage)
me.Get("/events", getEvents)
me.Get("/tickets", getTickets)
me.Delete("/tickets/:ticketId", killSession)
@ -49,7 +47,6 @@ func MapAPIs(app *fiber.App) {
directory := api.Group("/users/:alias").Name("User Directory")
{
directory.Get("/", getOtherUserinfo)
directory.Get("/page", getPersonalPage)
}
api.Post("/users", doRegister)